Win32: Detecting when system is locked or sleeping

Dale Strickland-Clark dale at riverhall.nospam.co.uk
Mon May 22 11:03:58 EDT 2006


skip at pobox.com 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 www.riverhall.co.uk
We're recruiting. See the web site for details.




More information about the Python-list mailing list