[python-win32] COM Dispatch w/multiple sessions?

Adam Pletcher adam at volition-inc.com
Tue May 6 04:44:35 CEST 2008


I have a tool that interacts with a COM server created by a third-party application.  My users sometimes need to open mutiple copies of that application.  You can probably guess where this is going.
 
Is there any way to tell win32com.client to connect to a specific instance/process of that application?
 
I'm currently using the typical win32com.client.Dispatch, which seems to just bind to the first process opened using that COM interface.  Any suggestions/workarounds appreciated.
 
- Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20080505/77e09924/attachment.htm>


More information about the python-win32 mailing list