Results 1 to 3 of 3

Thread: shutting down with windows

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Posts
    3

    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.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    I'm not sure I understand what you are looking for. Your application begins its shutdown, you do your housekeeping then it closes.

    ?

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Posts
    3
    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
  •  



Click Here to Expand Forum to Full Width