Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with AfxMessageBox

Status
Not open for further replies.

AliAndAli

Programmer
Aug 3, 2002
27
US
I have a MFC exe project with ATL support. (VC++ adds ATL support to MFC when you insert new ATL object.) I add some messages to my application using AfxMessageBox for debug purposes. Now, If I run my application in the debugger, AfxMessageBox works and pops up dialog boxes with my messages. But when I run the application by double clicking on it in "My Computer" no message will pop up, although, I see the process in Task Manager. I created a simple MFC application and it does not show this problem. Has anybody have an idea what might be causing this?

Thank you.
Ali
 
Are you sure that the .exe in My Computer is the one that you just rebuilt? or is the version prior to the debug?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top