Click here to Skip to main content
15,881,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLinker Error Pin
Don Guy15-Oct-12 5:18
Don Guy15-Oct-12 5:18 
AnswerRe: Linker Error Pin
Richard MacCutchan15-Oct-12 6:15
mveRichard MacCutchan15-Oct-12 6:15 
AnswerRe: Linker Error Pin
chaau15-Oct-12 11:27
chaau15-Oct-12 11:27 
QuestionCALLBACK function MFC Pin
D.Manivelan15-Oct-12 2:33
D.Manivelan15-Oct-12 2:33 
AnswerRe: CALLBACK function MFC Pin
Sivaraman Dhamodharan15-Oct-12 2:44
Sivaraman Dhamodharan15-Oct-12 2:44 
AnswerRe: CALLBACK function MFC Pin
Maximilien15-Oct-12 2:59
Maximilien15-Oct-12 2:59 
AnswerRe: CALLBACK function MFC Pin
Jochen Arndt15-Oct-12 3:05
professionalJochen Arndt15-Oct-12 3:05 
QuestionHow can I find the crash line of code from stack? Pin
Falconapollo14-Oct-12 4:58
Falconapollo14-Oct-12 4:58 
Now I have the crash info:

C++
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
mveRichard MacCutchan14-Oct-12 8:06 
QuestionPattern Abstract Factory Pin
Pahanuch14-Oct-12 3:45
Pahanuch14-Oct-12 3:45 
AnswerRe: Pattern Abstract Factory Pin
Richard Andrew x6414-Oct-12 6:53
professionalRichard Andrew x6414-Oct-12 6:53 
QuestionHow to enable re-sizing window without using WS_THICKKFRAME Pin
Hari-Adarapu12-Oct-12 11:18
Hari-Adarapu12-Oct-12 11:18 
AnswerRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
Richard Andrew x6412-Oct-12 12:25
professionalRichard Andrew x6412-Oct-12 12:25 
GeneralRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
Hari-Adarapu14-Oct-12 15:51
Hari-Adarapu14-Oct-12 15:51 
SuggestionRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
David Crow13-Oct-12 9:11
David Crow13-Oct-12 9:11 
QuestionProblem on modeless dialog on Excel Pin
Member 311342211-Oct-12 7:23
Member 311342211-Oct-12 7:23 
AnswerRe: Problem on modeless dialog on Excel Pin
Richard MacCutchan11-Oct-12 11:26
mveRichard MacCutchan11-Oct-12 11:26 
GeneralRe: Problem on modeless dialog on Excel Pin
Member 311342211-Oct-12 17:54
Member 311342211-Oct-12 17:54 
GeneralRe: Problem on modeless dialog on Excel Pin
Richard MacCutchan11-Oct-12 21:03
mveRichard MacCutchan11-Oct-12 21:03 
GeneralRe: Problem on modeless dialog on Excel Pin
Member 311342211-Oct-12 21:20
Member 311342211-Oct-12 21:20 
GeneralRe: Problem on modeless dialog on Excel Pin
Richard MacCutchan11-Oct-12 22:17
mveRichard MacCutchan11-Oct-12 22:17 
GeneralRe: Problem on modeless dialog on Excel Pin
David Crow12-Oct-12 10:26
David Crow12-Oct-12 10:26 
QuestionFatal Error C1902 Pin
pix_programmer10-Oct-12 22:42
pix_programmer10-Oct-12 22:42 
AnswerRe: Fatal Error C1902 Pin
Jochen Arndt10-Oct-12 22:51
professionalJochen Arndt10-Oct-12 22:51 
GeneralRe: Fatal Error C1902 Pin
pix_programmer10-Oct-12 22:59
pix_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.