Click here to Skip to main content
15,885,194 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have tried to register in dll windows 7.
it througing followin error.


The module "c:\windows\system32\**.dll" failed to load.

make sure the binary is stored at the specified path or debug it to check the problems with th binary or depenedt .dll files.


but its working properly in windows xp 32 bit.

can you suggest ....
Posted
Comments
Sergey Alexandrovich Kryukov 10-Dec-13 2:30am    
Are you sure you tried to register COM component, not, say, a regular .NET assembly? Why using COM at all?
—SA
@BangIndia 10-Dec-13 3:08am    
No. I am trying to register com object only.
wmi provider i have created. its working fine in xp.

1 solution

Hello,

Your COM component referenced the DLL's which are not located on target computer.
That can be mostly the runtime libraries which are goes with visual studio, in such case configure static linking of runtime libraries, or install VCRedist from Visual Studio you are using.

Actually the missing DLLs can be checked with Dependency Walker tool, by using it you can see what dll's are missing.

Regards,
Maxim.
 
Share this answer
 
Comments
@BangIndia 10-Dec-13 5:11am    
Thanks for comment. I have solved my issue.

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