[python-win32] win32com.client.DispatchWithEvents free threading re-entrancy

Richard Bell rbell01824 at earthlink.net
Thu May 10 16:40:52 CEST 2007


I'm working on an application that does some IE automation via the COM
interface.  I'm running in a free thread model,  sys.coint_flags = 0, and
starting IE with
win32.com.client.DispatchWIthEvents("InternetExplorer.Application",
event_handler_class).  Events are arriving as revealed by print statements
in the event handling routines.  Unfortunately, testing suggest that the
event handling routines are being reentered (a win32 mutex can not be got
because the event routines were reentered BEFORE it was released). 

 

Does anyone know if it is or is not possible for the event handlers to be
re-entered under this interface?

 

Thanks.

 

Richard

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20070510/4ebb279a/attachment.html 


More information about the Python-win32 mailing list