Hi
I was looking into adding reboot capability to an app, USBcfg, and
noticed this thread.
Changing the above slightly for use with the WDSibyl pascal "dialect"
and using REBOOT instead of POWEROFF works great.
Dobject = WinQueryObject('<WP_DESKTOP>');
fSuccess = WinSetObjectData(object,'XSHUTDOWNNOW=REBOOT,NOCONFIRM;');
Thanks.
Pete