Problem with Regsvr32.exe while registering a dll


I have a vc++ dll , which i want to register on my 32 bit win 7 machine using regsvr32.exe.but i have some problems with this, when i register my dll with regsvr32.exe, it shows registration successfull, but when i check the entries in regedit, there is no entry against "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID" :( only one entry in "Computer\HKEY_LOCAL_MACHINE\TypeLib" exists with guid mentioned in the project. so can anyone help me on this.

thanks in advance
So the COM server works or not ??? I can assure you that there is no bug in regsvr32.exe, all it does it call DllRegisterServer() exported function inside your DLL (you can do the same, without using Microsoft regsvr32.exe at all using LoadLibrary and GetProcAddress)

The source code for regsvr32.exe is publicly available in Microsoft website (well, not exactly 100%, but close):

Most likely there is a problem inside your DLL, please fix it.
Last edited on
Topic archived. No new replies allowed.