From: kbulgrien on 12 Aug 2008 11:10 See <a href="http://zone.ni.com/devzone/cda/epd/p/id/4394" target="_blank">http://zone.ni.com/devzone/cda/epd/p/id/4394</a> for <a href="ftp://ftp.ni.com/pub/devzone/epd/windows_messaging_que.zip" target="_blank">windows_messaging_que.zip</a> and use it to listen for WM_POWERBROADCAST, but, note this DOES NOT WORK UNLESS THE LabVIEW APPLICATION IS COMPILED INTO AN EXECUTABLE (.exe)! When running within the development environment, the message is never caught. We didn't successfully catch WM_QUERYENDSESSION this way either, but in our case, we did not care, and so did not pursue it further.
|
Pages: 1 Prev: Catch logout or shutdown event Next: Failed to Start Debug Server |