>Hello,
>
>What's the systematic and perfect way thru Win32Api to Re-Boot the machine and also to handle other opened Application Windows,
>
>Please try to solve it with example
>
>Regards
>Raj
Here you go:
#define EWX_REBOOT 2
DECLARE ExitWindowsEx IN Win32API;
INTEGER uFlags, INTEGER Reserved
= ExitWindowsEx(EWX_REBOOT, 0)
hth,
George
Ubi caritas et amor, deus ibi est