Specs: Delphi XE7, VCL, Win7, sleep mode
I'm not sure this is possible. I've been searching around but don't think my search queries were able to pull results.
I run an app every day and at the app's launch I put a time stamp on the caption bar. The app is run from my desktop, so it's on the 😄 drive.
Now, I want to leave the app running even when I shut down the computer into sleep mode. And when I wake the computer up from sleep mode, I'd like to have my app know that and put another time stamp on the caption bar. So, says "myapp (1:30pm, 7:15pm).
Is there any way I can let my app know that it came out of sleep mode and at what time I activated or Windows woke up or something?