Click here to Skip to main content
15,910,234 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: fatal error Pin
Mark Salsbery14-Jul-08 6:03
Mark Salsbery14-Jul-08 6:03 
GeneralRe: fatal error Pin
pavya_Cool14-Jul-08 18:48
pavya_Cool14-Jul-08 18:48 
QuestionRe: fatal error Pin
David Crow14-Jul-08 8:33
David Crow14-Jul-08 8:33 
Questioninput parameter debug Pin
George_George13-Jul-08 22:50
George_George13-Jul-08 22:50 
AnswerRe: input parameter debug Pin
Matthew Faithfull14-Jul-08 0:40
Matthew Faithfull14-Jul-08 0:40 
GeneralRe: input parameter debug Pin
George_George14-Jul-08 16:12
George_George14-Jul-08 16:12 
GeneralRe: input parameter debug Pin
Matthew Faithfull15-Jul-08 0:42
Matthew Faithfull15-Jul-08 0:42 
GeneralRe: input parameter debug Pin
George_George15-Jul-08 22:26
George_George15-Jul-08 22:26 
Thanks Matthew,


So your suggestion is to look at the assembly code?

I have diassembled and posted here the beginning part of function CoInitializeEx, how from the assembly code do you know are the input parameters (e.g. in which memory address or in which registers)?

Sorry the assembly code is long, and I think posting the beginning part is fine?

0:000> uf ole32!CoInitializeEx
 000007ff`571e2e50 488bc4          mov     rax,rsp
 000007ff`571e2e53 4881ec08010000  sub     rsp,108h
 000007ff`571e2e5a 48895808        mov     qword ptr [rax+8],rbx
 000007ff`571e2e5e 4c8960f8        mov     qword ptr [rax-8],r12
 000007ff`571e2e62 4c8968f0        mov     qword ptr [rax-10h],r13
 000007ff`571e2e66 e9e1d20000      jmp     ole32!CoInitializeEx+0x16 (000007ff`571f014c)


 000007ff`571f014c 448be2          mov     r12d,edx
 000007ff`571f014f 488bd9          mov     rbx,rcx
 000007ff`571f0152 e87913faff      call    ole32!CoVrfDllMainCheck (000007ff`571914d0)
 000007ff`571f0157 90              nop
 000007ff`571f0158 e9b914faff      jmp     ole32!CoInitializeEx+0x21 (000007ff`57191616)


 000007ff`57191616 458bdc          mov     r11d,r12d
 000007ff`57191619 4183e30e        and     r11d,0Eh
 000007ff`5719161d 453bdc          cmp     r11d,r12d
 000007ff`57191620 0f8537eb0500    jne     ole32!CoInitializeEx+0x2d (000007ff`571f015d)



regards,
George
GeneralRe: input parameter debug Pin
Matthew Faithfull16-Jul-08 6:46
Matthew Faithfull16-Jul-08 6:46 
GeneralRe: input parameter debug Pin
George_George16-Jul-08 19:46
George_George16-Jul-08 19:46 
AnswerRe: input parameter debug Pin
Mark Salsbery14-Jul-08 6:11
Mark Salsbery14-Jul-08 6:11 
GeneralRe: input parameter debug Pin
George_George14-Jul-08 16:16
George_George14-Jul-08 16:16 
GeneralRe: input parameter debug Pin
Mark Salsbery15-Jul-08 5:25
Mark Salsbery15-Jul-08 5:25 
GeneralRe: input parameter debug Pin
George_George15-Jul-08 22:32
George_George15-Jul-08 22:32 
QuestionLet the CHILD window's bakcground be transparent [modified] Pin
followait13-Jul-08 22:40
followait13-Jul-08 22:40 
AnswerRe: Let the window's bakcground be transparent Pin
sudhir_Kumar14-Jul-08 0:17
sudhir_Kumar14-Jul-08 0:17 
GeneralRe: Let the window's bakcground be transparent Pin
followait14-Jul-08 1:41
followait14-Jul-08 1:41 
AnswerRe: Let the CHILD window's bakcground be transparent Pin
Mark Salsbery14-Jul-08 6:14
Mark Salsbery14-Jul-08 6:14 
QuestionBatch file problem Pin
Nandu_77b13-Jul-08 22:39
Nandu_77b13-Jul-08 22:39 
AnswerRe: Batch file problem Pin
Varghese Paul M13-Jul-08 23:21
Varghese Paul M13-Jul-08 23:21 
GeneralRe: Batch file problem Pin
Nandu_77b13-Jul-08 23:46
Nandu_77b13-Jul-08 23:46 
Questiontry catch question Pin
Dennis L13-Jul-08 22:30
Dennis L13-Jul-08 22:30 
AnswerRe: try catch question Pin
Atropus13-Jul-08 23:06
Atropus13-Jul-08 23:06 
AnswerRe: try catch question Pin
Matthew Faithfull14-Jul-08 0:25
Matthew Faithfull14-Jul-08 0:25 
GeneralRe: try catch question Pin
Stephen Hewitt14-Jul-08 14:52
Stephen Hewitt14-Jul-08 14:52 

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.