Click here to Skip to main content
15,905,612 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I created a COM dll using visual studio 2005.The following were the steps to

creating the COM dll.

(1)New Project->MFC dll.Select the finish button

(2)Right click in the workspace and select Add New Class

(3)Select ATL COM+ 1.0 component

(4)Entered the interface name.

(5)Builded the application.Then it succeeded the build.But when I tried to register

the dll using REGSVR32 it showed

"Return code was: 0x80029c4a"

I searched this error code in forums.But everyone saying that the user trying

to register the dll have no sufficient rights.But I am an administrative user.I can

register other COM dll.Please help me.

Thanks in advance.
Posted
Updated 3-Aug-11 19:10pm
v2
Comments
Sergey Chepurin 2-Aug-11 8:22am    
This is -2147312566 (80029C4A)- Error loading type library/DLL. There is nothing about "no sufficient rights". This error is caused by a damaged or an incorrect version of the .dll file. See for example:http://support.quickbooks.intuit.com/support/Articles/SLN41083
kutz 2 4-Aug-11 1:09am    
.tlb of corresponding COM dll is missing.Now it is working fine.Thank you

all for the valuable information

1 solution

have you tried to call "regsvr32" as admin from the commandline?

Are all needed dlls available?
 
Share this answer
 
Comments
kutz 2 4-Aug-11 1:09am    
.tlb of corresponding COM dll is missing.Now it is working fine.Thank you

all for the valuable information

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900