My registered COM object cannot be ran as InProc

96 Views Asked by At

I am using pywin32 to register a COM object. The COM object get registered and it is avaialable in the registry editor at Computer\HKEY_CLASSES_ROOT\CLSID{B7B60366-B784-451F-BD6A-E7E733DB4E63}.

The problem is that the path in InProc32 includes only pythoncom37.dll. The only way can make the object work is to rename the inproc folder, so that it searches for LocalServer by default.

I believe several problems in the behavior of this object are connected to it not being ran as inproc, hence I really want to get it to run as inproc.

Any Ideas why this is the case? What can I do to change it?

0

There are 0 best solutions below