MFC release and Debug build
-
Hi I am trying to run a Legacy MFC application in Debug buil(earlier it was always built in Release Build (with debug info)). While loading resource using LoadToolBar() funtion ::FindResource fails while it succeeds in the Relase build. Can any body help me with this. Thanks and Regards
-
Hi I am trying to run a Legacy MFC application in Debug buil(earlier it was always built in Release Build (with debug info)). While loading resource using LoadToolBar() funtion ::FindResource fails while it succeeds in the Relase build. Can any body help me with this. Thanks and Regards
-
Hi I am trying to run a Legacy MFC application in Debug buil(earlier it was always built in Release Build (with debug info)). While loading resource using LoadToolBar() funtion ::FindResource fails while it succeeds in the Relase build. Can any body help me with this. Thanks and Regards
Probably uninitialized variables or invalid/NULL pointers. Have a look at Surviving the Release Version[^]
I'd rather be phishing!
-
Probably uninitialized variables or invalid/NULL pointers. Have a look at Surviving the Release Version[^]
I'd rather be phishing!
This is the opposite problem of what the OP stated. OP stated: works in release, fails in debug things you're referring to: work in debug, fail in release
-
Hi I am trying to run a Legacy MFC application in Debug buil(earlier it was always built in Release Build (with debug info)). While loading resource using LoadToolBar() funtion ::FindResource fails while it succeeds in the Relase build. Can any body help me with this. Thanks and Regards
When it comes to resources, it could be any number of things... if you make the call within a dll and not the main application, you have to make sure to have the resources of the main application loaded and not the dll's resources. In any case, hard to tell without more info and some code.
-
This is the opposite problem of what the OP stated. OP stated: works in release, fails in debug things you're referring to: work in debug, fail in release
My mistake. (the linked article can still offer hints and tips).
I'd rather be phishing!