Win32: Detecting when system is locked or sleeping

Dale Strickland-Clark dale at
Mon May 22 17:03:58 CEST 2006

skip at wrote:

>     rod> I have written an application which works perfectly when the
>     rod> machine is operating under normal conditions, however when the
>     rod> screen becomes locked it imediately starts to fill up several
>     rod> hundred MB's of memory.
> What do you mean by "locked"?  Unresponsive to mouse or keyboard activity?
> Blue screen?  What is your application doing while it's filling up memory?
> Which memory, disk or RAM?

I think he means locked by the user for security. 

Keyboard/mouse lock. As in ctrl-alt-del -> [Lock Computer]

Not the blue-screen, hung, rogered type of lock which is not voluntary and
rather more frequent.
Dale Strickland-Clark
Riverhall Systems
We're recruiting. See the web site for details.

More information about the Python-list mailing list