04-08-2020 03:34 PM
I've been using a call to Shutdown32.dll for years, in 32bit LV programs, to shut down or reboot the Windows computer. Does anyone have a tool for doing this on 64bit Windows?
Thanks,
DaveT
Solved! Go to Solution.
04-08-2020 04:23 PM
This works on 64 bit.
mcduff
04-09-2020 03:50 AM - edited 04-09-2020 03:53 AM
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown
Shutdown has lost of options, for instance you can cancel the shutdown (if you're in time), log off or restart.
The dialog seems interesting, it will allow you to cancel the shutdown, for instance when you're developing or testing.
There are rights issues: your application must have them.
04-10-2020 03:40 PM
Thanks!