Hi Team,
D10.3.3.
I want to detect Windows shutdown in Win 7 and Win 10 in order to ensure data is saved before the App gets clobbered.
I have tried a few examples using..
{ Private declarations }
procedure WMQueryEndSession(var Msg: TWMQueryEndSession);
message WM_QUERYENDSESSION;
plus its associated routine, without success.
I suspect the above may be OK in Win 7, haven't tried it yet, but not for Win 10.
Anybody got code working as desired in Win 10?
Regards & TIA,
Ian