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?
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.
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.