Click here to Skip to main content
15,891,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Finding crash information using the MAP file in vs2005 Pin
krmed4-Sep-12 3:33
krmed4-Sep-12 3:33 
AnswerRe: Finding crash information using the MAP file in vs2005 Pin
Stephen Hewitt6-Sep-12 21:46
Stephen Hewitt6-Sep-12 21:46 
Question(SOLVED) make single executable file in vs2008 (MFC) Pin
jawadali4773-Sep-12 1:26
jawadali4773-Sep-12 1:26 
AnswerRe: make single executable file in vs2008 (MFC) Pin
pasztorpisti3-Sep-12 2:05
pasztorpisti3-Sep-12 2:05 
GeneralRe: make single executable file in vs2008 (MFC) Pin
jawadali4774-Sep-12 17:42
jawadali4774-Sep-12 17:42 
GeneralRe: make single executable file in vs2008 (MFC) Pin
pasztorpisti4-Sep-12 23:04
pasztorpisti4-Sep-12 23:04 
GeneralRe: make single executable file in vs2008 (MFC) Pin
jawadali4779-Sep-12 17:45
jawadali4779-Sep-12 17:45 
GeneralRe: make single executable file in vs2008 (MFC) Pin
pasztorpisti9-Sep-12 21:26
pasztorpisti9-Sep-12 21:26 
There are many reasons for a buggy program to behave differently in debug/release mode. For example code optimization can sometimes screw up your code even if its otherwise non-buggy. Fortunately visual C++ is quite safe in this regard so I wouldnt search for something like this. The most dangerous difference between release builds is memory management/allocation. Debug builds use special values to fill up your stack/heap memory areas when they are allocated to detect programming mistakes (like when you try to use uninitialized variables). This fill doesn't happen when you run your program in release mode resulting in different behavior. Another problem is that even if your build is in Release mode the allocated memory is filled with zeros (not the same value as in debug builds) if you start your executable from your ide by debugging it! For this reason sometimes the bug occurs only if you start the exe from outside your IDE and then attach to it with your debugger. I would search for some uninitialized variables/members...
GeneralRe: make single executable file in vs2008 (MFC) Pin
jawadali47710-Sep-12 17:17
jawadali47710-Sep-12 17:17 
AnswerRe: make single executable file in vs2008 (MFC) Pin
Stephen Hewitt3-Sep-12 16:51
Stephen Hewitt3-Sep-12 16:51 
AnswerRe: make single executable file in vs2008 (MFC) Pin
Richard MacCutchan3-Sep-12 22:22
mveRichard MacCutchan3-Sep-12 22:22 
GeneralRe: make single executable file in vs2008 (MFC) Pin
pasztorpisti4-Sep-12 1:29
pasztorpisti4-Sep-12 1:29 
GeneralRe: make single executable file in vs2008 (MFC) Pin
Richard MacCutchan4-Sep-12 5:42
mveRichard MacCutchan4-Sep-12 5:42 
AnswerRe: (SOLVED) make single executable file in vs2008 (MFC) Pin
Member 103867337-Nov-13 5:00
Member 103867337-Nov-13 5:00 
QuestionFile download from network drive Pin
Sunil P V2-Sep-12 22:22
Sunil P V2-Sep-12 22:22 
AnswerRe: File download from network drive Pin
Richard MacCutchan2-Sep-12 22:34
mveRichard MacCutchan2-Sep-12 22:34 
Questiondailog based application Pin
Member 93363302-Sep-12 21:08
Member 93363302-Sep-12 21:08 
AnswerRe: dailog based application Pin
Richard MacCutchan2-Sep-12 21:19
mveRichard MacCutchan2-Sep-12 21:19 
GeneralRe: dailog based application Pin
pasztorpisti2-Sep-12 21:22
pasztorpisti2-Sep-12 21:22 
GeneralRe: dailog based application Pin
Richard MacCutchan2-Sep-12 22:32
mveRichard MacCutchan2-Sep-12 22:32 
AnswerRe: dailog based application Pin
Stefan_Lang5-Sep-12 2:14
Stefan_Lang5-Sep-12 2:14 
Question[MFC mouseclick on image] Pin
hosiduy2-Sep-12 20:44
hosiduy2-Sep-12 20:44 
AnswerRe: [MFC mouseclick on image] Pin
Richard MacCutchan2-Sep-12 21:17
mveRichard MacCutchan2-Sep-12 21:17 
GeneralRe: [MFC mouseclick on image] Pin
pasztorpisti2-Sep-12 21:20
pasztorpisti2-Sep-12 21:20 
GeneralRe: [MFC mouseclick on image] Pin
Richard MacCutchan2-Sep-12 22:30
mveRichard MacCutchan2-Sep-12 22:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.