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

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

2024-02-26 Thread Wuping Xin
------------ Message: 2 Date: Mon, 26 Feb 2024 10:24:51 -0500 From: Mark Hammond To: Aviv Bergman , python-win32@python.org Subject: Re: [python-win32] Creating COM objects in a new process Message-ID: <71e75e18-eb08-46e2-bfc9-316f7290c...@skippinet.com.au> Content-Type: text/pla

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

2024-02-26 Thread Mark Hammond
I'm not aware of anything, other than arranging for the existing process to terminate. Cheers, Mark On 2024-02-26 4:12 a.m., Aviv Bergman wrote: 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