Click here to Skip to main content
15,909,827 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Static Release wrong behavior and Debug fine Pin
prasad_som2-Oct-06 19:41
prasad_som2-Oct-06 19:41 
AnswerRe: Static Release wrong behavior and Debug fine Pin
Stephen Hewitt2-Oct-06 19:38
Stephen Hewitt2-Oct-06 19:38 
GeneralRe: Static Release wrong behavior and Debug fine Pin
31415926532-Oct-06 20:12
31415926532-Oct-06 20:12 
GeneralRe: Static Release wrong behavior and Debug fine Pin
Stephen Hewitt2-Oct-06 20:17
Stephen Hewitt2-Oct-06 20:17 
GeneralRe: Static Release wrong behavior and Debug fine Pin
31415926532-Oct-06 21:01
31415926532-Oct-06 21:01 
GeneralRe: Static Release wrong behavior and Debug fine Pin
S Douglas3-Oct-06 0:02
professionalS Douglas3-Oct-06 0:02 
GeneralRe: Static Release wrong behavior and Debug fine Pin
Stephen Hewitt3-Oct-06 13:41
Stephen Hewitt3-Oct-06 13:41 
AnswerRe: Static Release wrong behavior and Debug fine Pin
Rudolf Jan3-Oct-06 1:08
Rudolf Jan3-Oct-06 1:08 
I do not think the debugger or call stack or whatever will get you out of this trouble. Indeed, nothing seems wrong with this code. It has noting to do with your build settings, normally erros with that result in huge numers of error messages.

I think this has to do with corrupted memory. It may be caused by any part of your application. What I would do in this circumstances is to isolate parts of the application by switching off code (cemment out). Then try to find out when te problem disappears. Italso ma be useful to check carfully for possibly corrupted memory. Did you intialize all pointers? Did you maybe release meory (using delete or free), but try to accessthis memory from other places? Is it possible that you exceed any array bounds? It may take a lot of time to debug.

I wish you good luck in this bug hunting. It happened to me two or three times in my career, but I always found a reason for tis behaviour.
Questionstrip characters Pin
thathvamsi2-Oct-06 17:52
thathvamsi2-Oct-06 17:52 
AnswerRe: strip characters Pin
Link20062-Oct-06 18:07
Link20062-Oct-06 18:07 
GeneralRe: strip characters Pin
thathvamsi2-Oct-06 18:20
thathvamsi2-Oct-06 18:20 
GeneralRe: strip characters Pin
Link20062-Oct-06 18:26
Link20062-Oct-06 18:26 
GeneralRe: strip characters Pin
thathvamsi2-Oct-06 18:30
thathvamsi2-Oct-06 18:30 
GeneralRe: strip characters Pin
Link20062-Oct-06 18:56
Link20062-Oct-06 18:56 
GeneralRe: strip characters Pin
thathvamsi2-Oct-06 20:31
thathvamsi2-Oct-06 20:31 
GeneralRe: strip characters Pin
David Crow3-Oct-06 5:32
David Crow3-Oct-06 5:32 
AnswerRe: strip characters Pin
Hamid_RT2-Oct-06 18:08
Hamid_RT2-Oct-06 18:08 
GeneralRe: strip characters Pin
Link20062-Oct-06 18:20
Link20062-Oct-06 18:20 
GeneralRe: strip characters Pin
thathvamsi2-Oct-06 18:20
thathvamsi2-Oct-06 18:20 
GeneralRe: strip characters Pin
David Crow3-Oct-06 5:33
David Crow3-Oct-06 5:33 
GeneralRe: strip characters Pin
ThatsAlok2-Oct-06 20:19
ThatsAlok2-Oct-06 20:19 
AnswerRe: strip characters Pin
David Crow3-Oct-06 5:38
David Crow3-Oct-06 5:38 
QuestionRead value Pin
yijia_242-Oct-06 17:47
yijia_242-Oct-06 17:47 
AnswerRe: Read value Pin
Hamid_RT2-Oct-06 17:57
Hamid_RT2-Oct-06 17:57 
AnswerRe: Read value Pin
Naveen2-Oct-06 17:57
Naveen2-Oct-06 17:57 

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.