New Member

Group: Members
Posts: 1
Member No.: 28147
Joined: 26-October 09

|
Hi,
I have a project which on successful building provides an abc.dll as an output which is then registered using regsvr32. I built my Project in the Release configuration. The project builds successfully and then I can successfully register it using regsvr32. Now I build the same project on VS2008 with the Debug configuration with absolutely no changes to the code. The project builds successfully. However, regsvr32 fails to register and shows a message “Load Library (abc.dll) failed. The specified module could not be found”. I checked the .wll file with the software called “Dependency Walker”, which provided with a list of dlls that it uses. These are: • Atl90 • msvcr90d • msvcp90d • mfc90d • msvcr90 • msjava • coredll • msvcr70 • msvcp70 • mmvcp70 • mmvcr70
I copied all these dlls from C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\dll\x86 and other folders on the system, and downloaded msjava.dll and coredll.dll are downloaded from an external website. And pasted all of them into the C:\Windows\system32 folder. After this, when I try to register the abc.dll, regsvr32 simply fails – no message at all. When I try to unregister the dll with regsvr32 /u abc.dll, it does not give any response. Any clues? I have not used the /s option so the suppressing of the message is not the issue.
Regards
|