|
-
July 29th, 2005, 10:08 AM
#1
Is it Possible to Handle Shutdown or Restart Windows?
Hello Gurus,
I have a Strange Problem. I am updating a counter on the disk by doing a Write to the Disk from a Windows Service in VC++ and i need to handle the case when the user restarts or shuts down the system. This is because sometimes shutdown screws up the counter value. So if i am able to handle shutdown or restart windows from Service i can do the necessary clean up in the Service and then exit the service and let the shutdown or restart to proceed.
Is it possible to do that?
Thank you
Kandukondein
C++ is divine.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|