简体   繁体   中英

RegSvr32 not making registry entries for COM object

I have a newly created ATL simple object in an existing ATL COM project. Now, registering this DLL using regsvr32 works OK. I get a message saying DLL registration was successful. But, it fails to make entries under HKCR. I can see entries for all other objects but for this one.

I am using VS2012 Professional to compile my project and the configuration type is x64. ** I have recently upgraded my solution from VS2005 to VS2012 and this is my first object under the newly created solution. **

Can anyone point me in the right direction here?

OK, even though my command prompt directory was the same as the one in which the DLL to be registered was located when I used the command- C:\\windows\\system32\\regsvr32.exe DLLname.dll, it was registering the DLL located in System 32 folder.

Using absolute path for the DLL registered the correct DLL and new progID's appeared in HKCR.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM