|
-
Mar 23rd, 2002, 11:21 PM
#1
Thread Starter
New Member
shutting down with windows
I an using msghook.dll to detect a windows shutdown, and that works great. My question is what is the correct sequence of actions after the message has been sent to my program? I do my housekeeping, then what?
Thanks in advance.
-
Mar 24th, 2002, 06:33 AM
#2
I'm not sure I understand what you are looking for. Your application begins its shutdown, you do your housekeeping then it closes.
?
-
Mar 24th, 2002, 11:26 AM
#3
Thread Starter
New Member
In my before message event, I close my connection to the server. Do I try to close now, or do I reply with a false (saying that shutdown processing should continue) and wait for the WM_CLOSE method to close? I can't seem to get the sequence right, either I get the "this program is not responding" message, or I improperly respond and the shutdown sequence is stopped.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|