I am developing a visual c++ application that is written in vc6.0. It runs fine on Vista. However, when I close the application, either via the "Exit" menu, or the X on the window itself, I get the following error message "MyAppHere MFC Application has stopped Working". I can click Ok on this error message and the program will then close properly.
Any idea how to avoid getting this error message?
(Unfortuneately, I don't have VC 6.0 installed on the vista machine, so i can't run my code in the debugger).