tags:

views:

417

answers:

2

Hello,

I have a COM DLL that I registered via RegSvr32 but it does not show up in DComCnfg.

Any help as to why?

I think I am missing a few registry keys, but I do not understand why I would, i thought RegSvr32 did that for me.

Thanks for any help.

+1  A: 

regsvr32 merely runs the registration function your DLL exposes. If the registration info in your DLL is wrong, regsvr32 can do nothing about it. If you're not sure what to look for, you can try running Regmon (by sysinternals) with the filter set to *regsvr32* or so, and then look for the GUIDs that have been registered. Then look for them in the details view of DCOMCNFG. You will probably find it there if regsvr32 succeeded. This will give you an idea about the root of the problem, though the actual solution depends on what's wrong in your registration info.

Another remote option is that you have some 32-64 bit conflict, where regsvr32 is run in 32 bit and DCOMCNFG in 64 bit or vice versa. I'm not sure what DCOMCNFG shows in such case - I never had this problem, but there are different registry hives for 32 and 64 bits, and perhaps you're not looking in the right place.

eran
A: 
Vikas David