Help: win32gui & threads

Mark Hammond mhammond at
Tue Jun 18 00:50:23 CEST 2002

Miki Tebeka wrote:
> Hello All,
> I've written a little logger daemon with UI in Windows taskbar.
> (See code below)
> It seems to work fine but when I choose 'Quit' the windown closes but
> the pythonw is still alive and I need to kill it from the TaskManager.
> Any idea how to make it close?

You will need to do a little more work to give us more information.

* Is the DestroyWindow() call being made?
* Does the main thread ever appear to end - ie, if you put a print 
statement after the PumpMessages(), will it appear.


More information about the Python-list mailing list