Hello,
I have an executable running at startup (scheduled task created using Visual Studio) and always staying alive on my server.
When the server is rebooted, I would like to take some actions (alert msg email, etc) before my application is closed by windows.
So how can I detect that Windows is closing and that it's time to do the associate actions before the closing.
Thanks in advance!!