Shutting Down windows

This is a discussion on Shutting Down windows within the C++ Programming forums, part of the General Programming Boards category; I looked in the forum and i found some code but i can;t get it to work =\. I am ...

  1. #1
    Registered User
    Join Date
    Aug 2002

    Shutting Down windows

    I looked in the forum and i found some code but i can;t get it to work =\. I am trying to write a program that will be able to shutdown a windows 98 computer, i tried using the ExitWindowsEx function with the Shutdown and force arguments but i refuses to work. Windows just closes down the program without shutting down =\ can anyone help me with some code?

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002

  3. #3
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Seattle, WA
    Or you might be able to do it by running could google for rundll.exe
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Anyone using Windows 7?
    By Sharke in forum General Discussions
    Replies: 60
    Last Post: 07-12-2009, 09:05 AM
  2. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 08:14 AM
  3. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 03:55 PM
  4. Dos differences in Windows NT and Windows XP
    By Ruchikar in forum A Brief History of
    Replies: 5
    Last Post: 09-18-2003, 12:36 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 06:31 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21