> Now comes the real code question :D I found a way to get around this without a > new version... The principle is to make a little Console Application which could > be run after the compil tools (in the Run window) and which shuts down the PC. > But I don't know how to shut down a PC in C++... Does anyone know a solution ?
Win2k and WinNT use InitiateSystemShutdown() Win95/Win98 can use ExitWindowsEx() to shutdown. See the MSDN documentation for details. Jeffrey "botman" Broome _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

