Regasm writes mscoree.dll into Registry key InprocServer32

Posted by Stiefel on Stack Overflow See other posts from Stack Overflow or by Stiefel
Published on 2010-05-28T09:43:01Z Indexed on 2010/05/31 5:42 UTC
Read the original article Hit count: 479

Filed under:
|
|
|

When I register my .NET Assembly with regasm.exe the registry key

HKEY_CLASSES_ROOT\CLSID{111E32AD-4BF8-495F-AB4D-6C61BD463EA4}\InprocServer32

is set to "mscoree.dll".

However, I am trying to mimic an existing COM-Server that was written in C. When registering this old COM-server the InprocServer32 is set to the full path to this component.

Unfortunately the existing system (a plugin host that I can not change) reads and use this value - an is confused by the "mscoree.dll" value.

My solution might be to patch this registry entry manually - but I would like to understand why regasm writes "mscoree.dll" into InprocServer32 .

© Stack Overflow or respective owner

Related posts about com

Related posts about registry