Hi,
Has anyone tried this on Windows 8? I'm testing a LV11 application on Windows 8.
It seems WIndows 8 does trigger "Application Instance Close?" in a normal exe when Windows shutsdown. But the Disgard flag seems to be ignored. Meaning that only the code inside the event seems to be executed, and nothing else. This might be a timing issue, although I'd expect the kill after seconds, and the exe shuts down in a flash.
With the app running as a service (created with task scheduler), the event is not triggered at all when windows shutsdown. It's almost like Windows tries to send a WM_CLOSE (as documented), but the service has no window, so it kills the service (as documented). The same happens when you use task scheduler to end the task manually...
When task manager is used to end a normal exe, Windows Vista triggers the event, but windows 8 does not...
Regards,
Wiebe.