CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2009
    Posts
    61

    Holding system shut down

    How to hold system shutdown until my application exits.
    I am developing an application and i want to suppress system shutdown while my application is executing.

    please provide some sample program. I explored something in platform SDK but didtnt get a clear idea..

  2. #2
    Join Date
    Apr 1999
    Posts
    3,585

    Re: Holding system shut down

    Rather than trying to delay the system shut down, your application should detect when a shut down has been requested and react accordingly.
    Gort...Klaatu, Barada Nikto!

  3. #3
    Join Date
    Apr 2009
    Posts
    598

    Re: Holding system shut down

    If there is no more electricity, what will happen?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured