I have created a new simple COM object in Visual Studio 2008 using the ATL-wizard. The object has a single class and simple methods. The ATL-wizard did generate .rgs
-files for my class.
When I run regsvr32 Simple.dll
on my XP machine the class is registered, information shows up in HKCR\Simple.SimpleObject
and in HKCR\CLSID\{guid}
as I expect.
However, on my 64bit Windows 7 machine it's not the same. I run regsvr32 as administrator the parts in HKCR\Simple.SimpleObject
show up. But the part in HKCR\CLSID
never gets there. And hence I cannot create new instances. (Being desperate I have tried both regsvr32 in System32 and in SysWOW64, same effect.)
Why dont regsrv32
put data into HKCR\CLSID
?