I have a application using Delphi on Windows. There are some lengthy internal processes that can take few hours.
If no user is physically using the machine it goes to sleep mode. How do I notify windows that it is not idle and that I am processing.
I would prefer not to trap sleep/hibernate and inform windows every 5 mins that I am processing.