Click here to Skip to main content
11,428,876 members (61,999 online)

C / C++ / MFC

 
AnswerRe: Drawing speed Pin
sirama200416-Oct-12 2:58
membersirama200416-Oct-12 2:58 
GeneralRe: Drawing speed Pin
Flaviu216-Oct-12 3:04
memberFlaviu216-Oct-12 3:04 
GeneralRe: Drawing speed Pin
Flaviu218-Oct-12 0:16
memberFlaviu218-Oct-12 0:16 
QuestionStruct initialization with function pointer Pin
nussehund15-Oct-12 13:37
membernussehund15-Oct-12 13:37 
AnswerRe: Struct initialization with function pointer Pin
Jochen Arndt15-Oct-12 22:39
memberJochen Arndt15-Oct-12 22:39 
GeneralRe: Struct initialization with function pointer Pin
nussehund16-Oct-12 12:18
membernussehund16-Oct-12 12:18 
QuestionLinker Error Pin
Don Guy15-Oct-12 6:18
memberDon Guy15-Oct-12 6:18 
AnswerRe: Linker Error Pin
Richard MacCutchan15-Oct-12 7:15
mvpRichard MacCutchan15-Oct-12 7:15 
AnswerRe: Linker Error Pin
Andrew Cherednik15-Oct-12 12:27
memberAndrew Cherednik15-Oct-12 12:27 
QuestionCALLBACK function MFC Pin
D.Manivelan15-Oct-12 3:33
memberD.Manivelan15-Oct-12 3:33 
AnswerRe: CALLBACK function MFC Pin
sirama200415-Oct-12 3:44
membersirama200415-Oct-12 3:44 
AnswerRe: CALLBACK function MFC Pin
Maximilien15-Oct-12 3:59
memberMaximilien15-Oct-12 3:59 
AnswerRe: CALLBACK function MFC Pin
Jochen Arndt15-Oct-12 4:05
memberJochen Arndt15-Oct-12 4:05 
QuestionHow can I find the crash line of code from stack? Pin
Falconapollo14-Oct-12 5:58
memberFalconapollo14-Oct-12 5: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 9:06
mvpRichard MacCutchan14-Oct-12 9:06 
QuestionPattern Abstract Factory Pin
Pahanuch14-Oct-12 4:45
memberPahanuch14-Oct-12 4:45 
AnswerRe: Pattern Abstract Factory Pin
Richard Andrew x6414-Oct-12 7:53
memberRichard Andrew x6414-Oct-12 7:53 
QuestionHow to enable re-sizing window without using WS_THICKKFRAME Pin
Adarapu Harikrishna12-Oct-12 12:18
memberAdarapu Harikrishna12-Oct-12 12:18 
AnswerRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
Richard Andrew x6412-Oct-12 13:25
memberRichard Andrew x6412-Oct-12 13:25 
GeneralRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
Adarapu Harikrishna14-Oct-12 16:51
memberAdarapu Harikrishna14-Oct-12 16:51 
SuggestionRe: How to enable re-sizing window without using WS_THICKKFRAME Pin
DavidCrow13-Oct-12 10:11
memberDavidCrow13-Oct-12 10:11 
QuestionProblem on modeless dialog on Excel Pin
Member 311342211-Oct-12 8:23
memberMember 311342211-Oct-12 8:23 
AnswerRe: Problem on modeless dialog on Excel Pin
Richard MacCutchan11-Oct-12 12:26
mvpRichard MacCutchan11-Oct-12 12:26 
GeneralRe: Problem on modeless dialog on Excel Pin
Member 311342211-Oct-12 18:54
memberMember 311342211-Oct-12 18:54 
GeneralRe: Problem on modeless dialog on Excel Pin
Richard MacCutchan11-Oct-12 22:03
mvpRichard MacCutchan11-Oct-12 22:03 
GeneralRe: Problem on modeless dialog on Excel Pin
Member 311342211-Oct-12 22:20
memberMember 311342211-Oct-12 22:20 
GeneralRe: Problem on modeless dialog on Excel Pin
Richard MacCutchan11-Oct-12 23:17
mvpRichard MacCutchan11-Oct-12 23:17 
GeneralRe: Problem on modeless dialog on Excel Pin
DavidCrow12-Oct-12 11:26
memberDavidCrow12-Oct-12 11:26 
QuestionFatal Error C1902 Pin
pix_programmer10-Oct-12 23:42
memberpix_programmer10-Oct-12 23:42 
AnswerRe: Fatal Error C1902 Pin
Jochen Arndt10-Oct-12 23:51
memberJochen Arndt10-Oct-12 23:51 
GeneralRe: Fatal Error C1902 Pin
pix_programmer10-Oct-12 23:59
memberpix_programmer10-Oct-12 23:59 
GeneralRe: Fatal Error C1902 Pin
Jochen Arndt11-Oct-12 0:05
memberJochen Arndt11-Oct-12 0:05 
GeneralRe: Fatal Error C1902 Pin
pix_programmer11-Oct-12 0:18
memberpix_programmer11-Oct-12 0:18 
GeneralRe: Fatal Error C1902 Pin
Jochen Arndt11-Oct-12 0:27
memberJochen Arndt11-Oct-12 0:27 
GeneralRe: Fatal Error C1902 Pin
pix_programmer11-Oct-12 0:43
memberpix_programmer11-Oct-12 0:43 
GeneralRe: Fatal Error C1902 Pin
Jochen Arndt11-Oct-12 0:52
memberJochen Arndt11-Oct-12 0:52 
QuestionCRichEditCtrl halt any visual updates for a sec !! Pin
sdancer7510-Oct-12 5:59
membersdancer7510-Oct-12 5:59 
AnswerRe: CRichEditCtrl halt any visual updates for a sec !! Pin
Jochen Arndt10-Oct-12 6:39
memberJochen Arndt10-Oct-12 6:39 
AnswerRe: CRichEditCtrl halt any visual updates for a sec !! Pin
Andrew Cherednik10-Oct-12 12:27
memberAndrew Cherednik10-Oct-12 12:27 
GeneralRe: CRichEditCtrl halt any visual updates for a sec !! Pin
sdancer7510-Oct-12 22:38
membersdancer7510-Oct-12 22:38 
QuestionHow to get which Radio button is Checked? Pin
Anurag Kela10-Oct-12 3:14
memberAnurag Kela10-Oct-12 3:14 
AnswerRe: How to get which Radio button is Checked? Pin
_AnsHUMAN_ 10-Oct-12 3:29
group_AnsHUMAN_ 10-Oct-12 3:29 
QuestionRe: How to get which Radio button is Checked? Pin
DavidCrow10-Oct-12 3:38
memberDavidCrow10-Oct-12 3:38 
AnswerRe: How to get which Radio button is Checked? Pin
«_Superman_»10-Oct-12 20:48
member«_Superman_»10-Oct-12 20:48 
Questionfile is getting deleted Pin
sarfaraznawaz10-Oct-12 1:29
membersarfaraznawaz10-Oct-12 1:29 
AnswerRe: file is getting deleted Pin
sirama200410-Oct-12 1:33
membersirama200410-Oct-12 1:33 
GeneralRe: file is getting deleted Pin
sarfaraznawaz10-Oct-12 3:06
membersarfaraznawaz10-Oct-12 3:06 
QuestionRe: file is getting deleted Pin
DavidCrow10-Oct-12 3:40
memberDavidCrow10-Oct-12 3:40 
AnswerRe: file is getting deleted Pin
sarfaraznawaz10-Oct-12 4:17
membersarfaraznawaz10-Oct-12 4:17 
GeneralRe: file is getting deleted Pin
Andrew Cherednik10-Oct-12 12:32
memberAndrew Cherednik10-Oct-12 12:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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.150428.2 | Last Updated 3 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid