CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 15

Threaded View

  1. #1

    How to shutdown the XP system if my program is terminated by someone?

    When my program is running and if it is terminated (intentionally) via the Task Manager's Process tab, how can my program force a system shutdown or reboot?

    It would be better if there is sample code.

    Or are there alternatives to my problem?

    Thanks.
    Last edited by Kurosan; August 2nd, 2006 at 10:13 PM.

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