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!
Does the ExitWindowsEx API not work?
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.
Forum Rules