Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Shutdown Windows Server 2003 with Labwindows 5.5

Hello everybody,
 
I used to have LabWindows 5.5 under Windows Server 2000. Now we have changed to Windows Server 2003 with the same LabWindows version. I have had a simple function ExitWindowsEx(0, 0) to shutdown the windows completely. But this function does react under Server 2003 differently. After Shutdown it is restarted and hangs. You can only see the mouse cursor and you have to repair windows.
 
Does anyone know the correct Shutdown function for Windows Server 2003 or can I use the function InitiateSystemShutdown, if YES how?
 
Thanks in advance
 
Sait
0 Kudos
Message 1 of 1
(5,557 Views)