>I'm trying to implement a full NT 4.0 shutdown from a Vis. Fox 5.0
>App. I've found info on DECLAREing the ExitWindowsEx function and
>according to the WINUSER.H file, by passing a 2 to the function
>should signal a system shutdown. Instead it only cycles to the login
>screen (Press Ctrl+ALt+Del to Login)
>
>Am I missing something?
>
>Scott O'Donnell
>scotto@iworksys.com
Scott,
Passing a 2 (EWX_REBOOT) signals and system re-start, not shutdown. While I'm not familiar with NT, it sounds like the system priviledges may need adjusting. Instead, try EWX_FORCE (4).
George
George
Ubi caritas et amor, deus ibi est