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
line, this depends on the COM server implementation, not
something the client side can control.
Wuping
-- Original Message --
Date: Mon, 26 Feb 2024 20:12:29 +1100
From: Aviv Bergman
To: python-win32@python.org
Subject: [python-win32] Creating COM objects in a new process
Messag
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
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