[python-win32] Dispatch multi instance of the some com server

Tim Roberts timr at probo.com
Tue Jul 17 13:40:49 EDT 2018


Matteo Boscolo wrote:
> we have an issues with our com server (exe) .
>
> we dispatch it with dispatchEx to be sure that every time we dispatch
> it a new instance of the com server will be created.
>
> but it dose not work.
>
> when we dispatchex it the program get the live instance instead of
> creating a new one.
>

Why?  I know you weren't asking for a design review, but it seems like a
serious design flaw if you cannot handle multiple requests with a single
instance.  That's a big part of COM -- an easy way to have a server that
handles multiple clients.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list