PumpMessages et WM_QUIT

swell at netcourrier.com swell at netcourrier.com
Wed Sep 13 14:34:41 EDT 2006


I have a COM server that throw events that i catch after running the
event loop thanks to pythoncom.PumpMessages(). How can i stop and exit
this loop? I tried to use win32api.PostQuitMessage() but this has no
effect ( the doc says that WM_QUIT stops the PumpMessages loop but it
doesn't)

Does someone know how to exit gracefully from this loop?

Thx
Manu




More information about the Python-list mailing list