Servicing events from a COM server

Mark Hammond mhammond at
Sat Mar 1 00:36:25 CET 2003

John Brydon wrote:
> I have a COM object implemented with C++ Builder as an out-of-process
> (*.exe) server. I am accessing properties and methods from a Python
> script with no problem but require the script to also service events
> generated asynchronously by the server. Can anyone point me towards a
> reference for implementing this ?

You probably need to the entry point for your COM object.  Check out 
win32com.server.localserver for the main loop an out-of-proc server 
runs.  You may need to provide your own.  Check out 
win32com.server.register for how you can provide you own.


More information about the Python-list mailing list