Hmmmm... I always use _CrtDbgReport(...) or one of the macros _RPT#
Printable View
Hmmmm... I always use _CrtDbgReport(...) or one of the macros _RPT#
I tried replacing some things with the MDIActivate function, I still had some trouble. My manually maintained pointers do what I need, and don't cause a crash, so I'm going to stick with them. Thanks for the help everyone.
Quote:
Originally Posted by souldog
Your right, honest is not always the best policy, but AfxMessageBox, printf (for console apps) and getch(), have always worked for me.
What is cool about AfxMessageBox and any function where you can stop the computer program and display variables is 90 % of debug. Of course it doesn't help for memory leaks.
I seen people dislplay all kinds of error messages and talk about debugers, and I just think, well obviously I have to put my AfxMessageBox somewhere before that happens and work it back.
..... I think you get the point :) :)