MFC application works perfectly from Visual Studio, but doesn't work when I doub-click the MFC appli

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi There,
I have been working with a dialog based MFC application for a while. When I build the project from Visual Studio(9) and press the Debug button (green triangular button), everything works perfectly. Couple of days back when I tried to execute the program
by double-clicking the MFC application icon created in the Debug folder of the project, the dialog pops up, but when I click any button on the dialog it doesnt work. I double checked to see if I am building the solution in Debug mode, which I am doing.
I somehow feel this has something to do with the libraries. I have added some Additional Include libraries for my project, are they the ones that are not reacheable by the MFC application when I execute by double-clicking the icon?!
My OS is Windows-7 64-bit and I am using Visual Studio 9. Any help is very much appreciated.
Thanks & Regards,
Radhika

View the full article
 
Back
Top