COM: How call running process?

Dag W dag at whoi.edu
Wed Sep 13 14:14:44 EDT 2000


A question about pythonwin/win32com

How do you from one COM object (A) find and get at another, already
running COM server (B)? The most examples I have come across create a
new COM server, do their stuff and everything is fine. 

If object B already is running and I want to inspect its state from A,
how do I find B, and get access to its methods? I have done some of the
simpler stuff, using 'inproc' servers. Just switching to 'local server'
at Dispatch (or registration) doesn't help. Do I need
PumpWaitingMessages? What else? Any example source?

Thank you!

/Dag

(yes, I have the book...)



More information about the Python-list mailing list