Click here to Skip to main content
12,892,810 members (61,458 online)

C / C++ / MFC

 
QuestionLinker Error Pin
Don Guy15-Oct-12 5:18
memberDon Guy15-Oct-12 5:18 
AnswerRe: Linker Error Pin
Richard MacCutchan15-Oct-12 6:15
mvpRichard MacCutchan15-Oct-12 6:15 
AnswerRe: Linker Error Pin
Andrew Cherednik15-Oct-12 11:27
memberAndrew Cherednik15-Oct-12 11:27 
QuestionCALLBACK function MFC Pin
D.Manivelan15-Oct-12 2:33
memberD.Manivelan15-Oct-12 2:33 
AnswerRe: CALLBACK function MFC Pin
sirama200415-Oct-12 2:44
membersirama200415-Oct-12 2:44 
AnswerRe: CALLBACK function MFC Pin
Maximilien15-Oct-12 2:59
memberMaximilien15-Oct-12 2:59 
AnswerRe: CALLBACK function MFC Pin
Jochen Arndt15-Oct-12 3:05
memberJochen Arndt15-Oct-12 3:05 
QuestionHow can I find the crash line of code from stack? Pin
Falconapollo14-Oct-12 4:58
memberFalconapollo14-Oct-12 4:58 
Now I have the crash info:

TestAPP caused an Access Violation (0xc0000005) 
in module XCrashReportTest.exe at 0023:5763c230.
 
Context:
EDI:    0x002aee0c  ESI: 0x002ad7f4  EAX:   0x00000000
EBX:    0x00000000  ECX: 0x57635670  EDX:   0x028c1d27
EIP:    0x5763c230  EBP: 0x002aee18  SegCs: 0x00000023
EFlags: 0x00010246  ESP: 0x002ad554  SegSs: 0x0000002b
 
Bytes at CS:EIP:                                                 
8b 08 52 50 8b 41 18 ff d0 8b 0d c8 e0 66 57 8b                  
                                                                 
Stack:                                                           
0x002ad554: 576504f7 002aee0c 002ad7f4 002ad570 ..eW..*...*.p.*. 
0x002ad564: 002aee0c 5763c201 002aee18 002ad59c ..*...cW..*...*. 
0x002ad574: 576490b1 5763c201 002aee0c 00000100 ..dW..cW..*..... 
0x002ad584: 002ad5f4 57648d9f 75785eaa 57668e70 ..*...dW.^xup.fW 
0x002ad594: 002aee0c 00000001 002ad604 5764d4d2 ..*.......*...dW 
0x002ad5a4: 002aee0c 57668e70 5763c201 00000000 ..*.p.fW..cW.... 
0x002ad5b4: 00000100 75785d2a 57668e5c 002aee0c ....*]xu\.fW..*. 
0x002ad5c4: 57668e4c 002add84 00000000 00000000 L.fW..*......... 

I refer to XCrashReport[XCrashReport : Exception Handling and Crash Reporting - Part 1

But I find that sometimes the EIP differed when I run the same *.exe in the same machine. So, sometimes I can't match the crash line of code with EIP(the methods descriped in XCrashReport : Exception Handling and Crash Reporting - Part 1. I don't know how to use the stack info.

Anyone can help me?
AnswerRe: How can I find the crash line of code from stack? Pin
Richard MacCutchan14-Oct-12 8:06
mvpRichard MacCutchan14-Oct-12 8:06 
QuestionPattern Abstract Factory Pin
Pahanuch14-Oct-12 3:45
memberPahanuch14-Oct-12 3:45 
AnswerRe: Pattern Abstract Factory Pin
Richard Andrew x6414-Oct-12 6:53
memberRichard Andrew x6414-Oct-12 6:53 
QuestionHow to enable re-sizing window without using WS_THICKKFRAME Pin
Adarapu Harikrishna12-Oct-12 11:18
memberAdarapu Harikrishna12-Oct-12 11:18 
AnswerRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
Richard Andrew x6412-Oct-12 12:25
memberRichard Andrew x6412-Oct-12 12:25 
GeneralRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
Adarapu Harikrishna14-Oct-12 15:51
memberAdarapu Harikrishna14-Oct-12 15:51 
SuggestionRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
DavidCrow13-Oct-12 9:11
memberDavidCrow13-Oct-12 9:11 
QuestionProblem on modeless dialog on Excel Pin
Member 311342211-Oct-12 7:23
memberMember 311342211-Oct-12 7:23 
AnswerRe: Problem on modeless dialog on Excel Pin
Richard MacCutchan11-Oct-12 11:26
mvpRichard MacCutchan11-Oct-12 11:26 
GeneralRe: Problem on modeless dialog on Excel Pin
Member 311342211-Oct-12 17:54
memberMember 311342211-Oct-12 17:54 
GeneralRe: Problem on modeless dialog on Excel Pin
Richard MacCutchan11-Oct-12 21:03
mvpRichard MacCutchan11-Oct-12 21:03 
GeneralRe: Problem on modeless dialog on Excel Pin
Member 311342211-Oct-12 21:20
memberMember 311342211-Oct-12 21:20 
GeneralRe: Problem on modeless dialog on Excel Pin
Richard MacCutchan11-Oct-12 22:17
mvpRichard MacCutchan11-Oct-12 22:17 
GeneralRe: Problem on modeless dialog on Excel Pin
DavidCrow12-Oct-12 10:26
memberDavidCrow12-Oct-12 10:26 
QuestionFatal Error C1902 Pin
pix_programmer10-Oct-12 22:42
memberpix_programmer10-Oct-12 22:42 
AnswerRe: Fatal Error C1902 Pin
Jochen Arndt10-Oct-12 22:51
memberJochen Arndt10-Oct-12 22:51 
GeneralRe: Fatal Error C1902 Pin
pix_programmer10-Oct-12 22:59
memberpix_programmer10-Oct-12 22:59 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.170424.1 | Last Updated 27 Apr 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid