Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to make spreadsheet Pin
Hamid_RT29-Sep-06 19:59
Hamid_RT29-Sep-06 19:59 
AnswerRe: how to make spreadsheet Pin
marwa_fci30-Sep-06 10:26
marwa_fci30-Sep-06 10:26 
GeneralRe: how to make spreadsheet Pin
S Douglas30-Sep-06 20:54
professionalS Douglas30-Sep-06 20:54 
GeneralRe: how to make spreadsheet Pin
Hamid_RT2-Oct-06 8:57
Hamid_RT2-Oct-06 8:57 
QuestionDebugging pains Pin
PJ Arends29-Sep-06 10:17
professionalPJ Arends29-Sep-06 10:17 
AnswerRe: Debugging pains Pin
Peter Weyzen29-Sep-06 14:04
Peter Weyzen29-Sep-06 14:04 
GeneralRe: Debugging pains Pin
PJ Arends29-Sep-06 16:10
professionalPJ Arends29-Sep-06 16:10 
GeneralRe: Debugging pains Pin
Mike_V29-Sep-06 17:57
Mike_V29-Sep-06 17:57 
JE and JZ are synonymous - both jump if the zero flag is set. cmp eax, 15 checks if eax==15. But what it really does is subtract 15 from eax and set the flags appropriately. Thus if they are equal, the zero-flag will be set.

As for the different pointers - the instructions in question have a sign-extended MOD/RM operand. Dr.Watson is for some reason treating the offset as an unsigned char rather than the signed char it really is.

I still don't know why the load addresses are different. You're not doing anything funky with EXE alignment, are you?

It looks to me like memory corruption. It is failing while trying to load the address of the virtual destructor of the pMainFrame object. Somehow the vtbl pointer has been zeroed out. Are you by any chance doing a memset to clear a bunch of class variables? I've seen that many times.

But as to why this fails on only W2K, I have no idea at the moment. What kind of stuff does the app use? (i.e. any os components that could be different on 2k/xp?)

That doesn't really help much, now, does it Smile | :) But it's about all I can think of now.

Mike
GeneralRe: Debugging pains Pin
PJ Arends29-Sep-06 21:40
professionalPJ Arends29-Sep-06 21:40 
GeneralRe: Debugging pains Pin
Mike_V29-Sep-06 22:19
Mike_V29-Sep-06 22:19 
GeneralRe: Debugging pains Pin
PJ Arends30-Sep-06 12:09
professionalPJ Arends30-Sep-06 12:09 
GeneralRe: Debugging pains Pin
S Douglas30-Sep-06 21:08
professionalS Douglas30-Sep-06 21:08 
GeneralRe: Debugging pains Pin
PJ Arends29-Sep-06 16:16
professionalPJ Arends29-Sep-06 16:16 
QuestionWizard question OnWizardFinished Pin
Maximilien29-Sep-06 9:23
Maximilien29-Sep-06 9:23 
QuestionRe: Wizard question OnWizardFinished Pin
David Crow29-Sep-06 10:03
David Crow29-Sep-06 10:03 
QuestionDateTime Picker can select different field Pin
bflynt29-Sep-06 8:58
bflynt29-Sep-06 8:58 
Questionhow to get column count of CListCtrl? Pin
includeh1029-Sep-06 6:37
includeh1029-Sep-06 6:37 
AnswerRe: how to get column count of CListCtrl? Pin
Hamid_RT29-Sep-06 6:55
Hamid_RT29-Sep-06 6:55 
GeneralRe: how to get column count of CListCtrl? Pin
Zac Howland29-Sep-06 8:58
Zac Howland29-Sep-06 8:58 
GeneralRe: how to get column count of CListCtrl? Pin
Hamid_RT29-Sep-06 9:06
Hamid_RT29-Sep-06 9:06 
Questionsetup Pin
amaneet29-Sep-06 5:55
amaneet29-Sep-06 5:55 
AnswerRe: setup Pin
Waldermort29-Sep-06 5:58
Waldermort29-Sep-06 5:58 
AnswerRe: setup Pin
Zac Howland29-Sep-06 6:01
Zac Howland29-Sep-06 6:01 
AnswerRe: setup Pin
Hamid_RT29-Sep-06 6:57
Hamid_RT29-Sep-06 6:57 
QuestionOutput to the debugger Pin
Waldermort29-Sep-06 5:43
Waldermort29-Sep-06 5:43 

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.