CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2005
    Posts
    25

    Problem with PostQuitMessage in release

    I have a basic app which has a login dialog that displays when the app starts up. the user has to the option to login, or quit. when they click quit, I call,

    PostQuitMessage(0);

    This works okay in debug, but crashes the app in release. Any ideas what could be wrong?

  2. #2
    Join Date
    Jun 2002
    Posts
    1,417

    Re: Problem with PostQuitMessage in release

    Nope -- I left my crystle ball at work last Friday. So you'll have to either post the code or zip it up and attach to the post. If you zip it up please delete all compiler-generated files, such as *.obj and *.phd (precompiled header) files.

  3. #3
    Join Date
    May 2005
    Posts
    25

    Re: Problem with PostQuitMessage in release

    I figured out how to fix my problem. For some reason the app would keep looping in a while loop when in release, but in debug it would break out. I'm not sure why, but I figured out how to fix it.

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

Featured