Re: [python-win32] Creating COM objects in a new process

2024-02-27 Thread Aviv Bergman
Thanks Wuping As I also implement the COM server, this really helped finding the solution - I had to re-implement win32com.server.localserver.serve and pass flags=pythoncom.REGCLS_SINGLEUSE | pythoncom.REGCLS_SUSPENDED ___ python-win32 mailing list

[python-win32] Creating COM objects in a new process

2024-02-26 Thread Aviv Bergman
Hi I'm trying to create several COM objects, each in a new process, but it seems DispatchEx is reusing the existing COM server process, is there any way to force creating new objects in a new process? I'm using a python COM server,  minimal example attached Thanks Aviv - import o