event loop problem

Alex Martelli aleaxit at yahoo.com
Mon Oct 23 18:13:06 EDT 2000


<alex116321 at my-deja.com> wrote in message
news:8t21ei$e5a$1 at nnrp1.deja.com...
    [snip]
> Sometimes other windows on NT broadcast messages which need to be
> confirmed by all running windows.  If at least one window does not
> dispatch the confirmation, the broadcaster will hang.  In C++ the

Right.

> ADO opens a hidden window and causes this problem.  If ADO is not used,
> no problem exists.  Any help would be greatly appreciated.

It's not ADO, but COM (its Service-Control manager, to be precise).

Anyway, inserting a call to pythoncom.PumpWaitingMessages() in
your sleep-loop should fix things up.


Alex






More information about the Python-list mailing list