Results 1 to 3 of 3

Thread: Shuttingdown in win 2000??

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2001
    Location
    Belgium
    Posts
    28

    Question Shuttingdown in win 2000??

    Do anybody know the code for shutting down the pc with
    my application in windows 2000???
    This business is binary!
    Your One or Zero!
    Alive or Dead!

  2. #2
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    Does the ExitWindowsEx API not work?

  3. #3
    Tygur
    Guest
    No, it doesn't. Windows 2000 and NT have extra security features. Your program has to do some extra stuff before it can shutdown the computer. Go to this link:
    http://www.planet-source-code.com/xq...s/ShowCode.htm

    It'll explain everything for you.

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