Possible Duplicate:
Prevent windows from going into sleep when my program is running?
Hello all
What can I do to change windows power options in a Delphi app? I want to disable the hibernate and suspend power options.
I have a Delphi app that does a lot or processing in background, and when windows hibernate or suspend my application stops processing.