|
-
May 21st, 1999, 07:57 AM
#1
program runs in debug, not in release
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
-
May 21st, 1999, 08:09 AM
#2
Re: program runs in debug, not in release
look into debug section of this server
(http://www.codeguru.com/debug/index.shtml)
hope this helps
-
May 21st, 1999, 08:14 AM
#3
Re: program runs in debug, not in release
are ALL your message handlers declared with
WPARAM and LPARAM
even if you do not use them they have to be there....
Sally
-
May 21st, 1999, 10:22 AM
#4
Re: program runs in debug, not in release
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. ;-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|