I have a problem registering a DLL. My OS is Windows 7 (x64).
I do this in two different ways:
1) Using regsvr32. I get the message "DllRegisterServer ... successeed", however I can not find my CLSID in the registry. (And I get a "Class not registered" error trying to create an instace component with this CLSID). In this case, I know that the DllRegisterServer is never called (because I create a text file at the beginning of this function, and it is not created).
2) Explicitly load your DLL and call DllRegisterServer. In this case, the DllRegisterServer returns S_OK, but still I can not find my CLSID in the registry and get the error "Class not registered".
I am sure that the code is correct (since it works not only on my OS), it seems that the problem is in the OS. Has anyone encountered such a problem?
source
share