My program runs fine in debug mode. When running a release build, I get following message:
Unhandled exception in prog.exe (MFC42.DLL):
0xC0000005: Access violation
Can someone tell me what might cause this behavior? I am using VC++ 5.0 Pro w SP3
Printable View
My program runs fine in debug mode. When running a release build, I get following message:
Unhandled exception in prog.exe (MFC42.DLL):
0xC0000005: Access violation
Can someone tell me what might cause this behavior? I am using VC++ 5.0 Pro w SP3
look into debug section of this server
(http://www.codeguru.com/debug/index.shtml)
hope this helps
are ALL your message handlers declared with
WPARAM and LPARAM
even if you do not use them they have to be there....
Sally
With me (almost always), I find I have assigned a value within an ASSERT() macro.
This works under debug but under release the code is not compiled and then I am using an invalid pointer.
Only the great god ISO knows what happens then. ;-)