Announcement

Collapse
No announcement yet.

Code not executing on XP SP3 shutdown?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Code not executing on XP SP3 shutdown?

    Using Windows XP SP3 I noticed that my shutdown code no longer executes in %WM_CLOSE or %WM_DESTROY.

    Also, is there a shutdown group like the startup group to execute a program on shutdown.
    I signal some internet servers to quit sending my local machine messages on shutdown.

    Had it in the wrong message.
    Solution: Thanks Eric Pearson.
    Code:
    CASE %WM_QUERYENDSESSION
       PostQuitMessage 0
       CALL ShutDownCode
       FUNCTION = 1
    Last edited by Mike Doty; 23 Aug 2008, 07:33 PM.
    CMD shortcut to open any location:
    %windir%\system32\cmd.exe /k " cd\ & x: & cd x:\xxxx
    Change to run as administrator
    How long is an idea? Write it down.
Working...
X