prob. regarding release and debug build
-
hello i have developed a application.when i build it in debug mode it works fine but when i build it in release mode it gets crashed. can anybody help me in this issue . what might be the problem thanking you chan
-
hello i have developed a application.when i build it in debug mode it works fine but when i build it in release mode it gets crashed. can anybody help me in this issue . what might be the problem thanking you chan
Check your memory handling / array bounds. In VC the Debug build generates safety pads for mem allocations / access, The release mode doesn't. Check MSDN for more information. A search for 'Debug Build' will give you quite a few useful hints. "It was when I found out I could make mistakes that I knew I was on to something." -Ornette Coleman
-
Check your memory handling / array bounds. In VC the Debug build generates safety pads for mem allocations / access, The release mode doesn't. Check MSDN for more information. A search for 'Debug Build' will give you quite a few useful hints. "It was when I found out I could make mistakes that I knew I was on to something." -Ornette Coleman
thanx for ur answer. is it necessary to ship application in release build? if i have small exe then why not to ship it in debug build as it generates safety pads for mem allocations / access? thanking you chan
-
thanx for ur answer. is it necessary to ship application in release build? if i have small exe then why not to ship it in debug build as it generates safety pads for mem allocations / access? thanking you chan
-
hello i have developed a application.when i build it in debug mode it works fine but when i build it in release mode it gets crashed. can anybody help me in this issue . what might be the problem thanking you chan
take a look at the following page .. maybe it will help. http://www.geocities.com/firepower\_50ae/CodeNote/WinAPIfaq.html#141 -Tareq
-
hello i have developed a application.when i build it in debug mode it works fine but when i build it in release mode it gets crashed. can anybody help me in this issue . what might be the problem thanking you chan
This article should be of help Surviving the Release Version[^] Roger Allen Sonork 100.10016 Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003
-
hello i have developed a application.when i build it in debug mode it works fine but when i build it in release mode it gets crashed. can anybody help me in this issue . what might be the problem thanking you chan
-
hello i have developed a application.when i build it in debug mode it works fine but when i build it in release mode it gets crashed. can anybody help me in this issue . what might be the problem thanking you chan
One classic reason for this is to define a ON_MESSAGE handler incorrectly. The prototype for the ON_MESSAGE hander is:
afx_msg long OnMyMessage(WPARAM wParam, LPARAM lParam);
But, if you define it like this:afx_msg **void** OnMyMessage(WPARAM wParam, LPARAM lParam);
It will work fine in debug mode and crash in release mode. You get no warnings and it can be very, very hard to debug (because it works in debug mode). This one has got me before. It took about 2 days to figure it out. Hope this helps... :) Jonathan Craig www.mcw-tech.com Jonathan Craig www.mcw-tech.com