Click here to Skip to main content
15,886,798 members
Home / Discussions / COM
   

COM

 
GeneralRe: How to iterate vtable of COM coclass? Pin
Cool_Dev11-Mar-10 1:53
Cool_Dev11-Mar-10 1:53 
GeneralRe: How to iterate vtable of COM coclass? Pin
glitteringsound11-Mar-10 2:36
glitteringsound11-Mar-10 2:36 
GeneralRe: How to iterate vtable of COM coclass? Pin
Cool_Dev11-Mar-10 3:17
Cool_Dev11-Mar-10 3:17 
GeneralRe: How to iterate vtable of COM coclass? Pin
Frederick J. Harris29-Mar-10 10:48
Frederick J. Harris29-Mar-10 10:48 
AnswerRe: How to iterate vtable of COM coclass? Pin
Stephen Hewitt11-Mar-10 15:00
Stephen Hewitt11-Mar-10 15:00 
GeneralRe: How to iterate vtable of COM coclass? Pin
glitteringsound11-Mar-10 19:30
glitteringsound11-Mar-10 19:30 
GeneralRe: How to iterate vtable of COM coclass? Pin
Cool_Dev11-Mar-10 19:41
Cool_Dev11-Mar-10 19:41 
GeneralRe: How to iterate vtable of COM coclass? Pin
glitteringsound11-Mar-10 20:52
glitteringsound11-Mar-10 20:52 
Yeah true.!!

but _asm patch helped me out in this regard.
_asm
{
push argument_1
push argument_2
call proc ;function address
}

Here suppose i have given all info (parameters or arguments) at run time for NOW(Which I have passed it on runtime console).

For future(might be later) I will load every thing from TLB's. e.g (How to know that QueryInterface taking 3 params of different type? This is ITypeLibe which provides information from TLB of that Component which I can query from registry to load specific TLB and give me specific function signature and types).

Hence I got all params and function names as well(Which I can decipher from signature working with RE's(regular expression)).

But Now I need to call the function, which would have specific address(NOT KNOWN) arguments(parameters) which I have collected from TLB, and name as well. How that address corresponds to that function name to which I am going to call.

For this I need to traverse vtable which is holding functional addresses, LASTLY need to correspond function address with NAME of that function. This is I dont know. How? More over one function with the same name may appear in vtable(Overloading case). In that case we need to distinguish function names w.r.t their addresses. How to tackle ?
QuestionVisual Prolog and .NET Pin
Ryan Minor10-Mar-10 8:07
Ryan Minor10-Mar-10 8:07 
QuestionIs it possible for reflections for COM Exe or COM DLL? Pin
glitteringsound9-Mar-10 6:04
glitteringsound9-Mar-10 6:04 
AnswerRe: Is it possible for reflections for COM Exe or COM DLL? Pin
Jonathan Davies9-Mar-10 6:16
Jonathan Davies9-Mar-10 6:16 
GeneralRe: Is it possible for reflections for COM Exe or COM DLL? Pin
glitteringsound9-Mar-10 6:23
glitteringsound9-Mar-10 6:23 
AnswerRe: Is it possible for reflections for COM Exe or COM DLL? Pin
Richard MacCutchan9-Mar-10 6:23
mveRichard MacCutchan9-Mar-10 6:23 
GeneralRe: Is it possible for reflections for COM Exe or COM DLL? Pin
glitteringsound9-Mar-10 6:28
glitteringsound9-Mar-10 6:28 
GeneralRe: Is it possible for reflections for COM Exe or COM DLL? Pin
Richard MacCutchan9-Mar-10 7:25
mveRichard MacCutchan9-Mar-10 7:25 
GeneralRe: Is it possible for reflections for COM Exe or COM DLL? Pin
glitteringsound9-Mar-10 19:07
glitteringsound9-Mar-10 19:07 
GeneralRe: Is it possible for reflections for COM Exe or COM DLL? Pin
Richard MacCutchan9-Mar-10 21:33
mveRichard MacCutchan9-Mar-10 21:33 
GeneralRe: Is it possible for reflections for COM Exe or COM DLL? Pin
glitteringsound9-Mar-10 23:28
glitteringsound9-Mar-10 23:28 
GeneralRe: Is it possible for reflections for COM Exe or COM DLL? Pin
Richard MacCutchan9-Mar-10 23:41
mveRichard MacCutchan9-Mar-10 23:41 
GeneralRe: Is it possible for reflections for COM Exe or COM DLL? Pin
glitteringsound10-Mar-10 0:40
glitteringsound10-Mar-10 0:40 
GeneralRe: Is it possible for reflections for COM Exe or COM DLL? Pin
Jürgen Jung10-Mar-10 1:07
Jürgen Jung10-Mar-10 1:07 
GeneralRe: Is it possible for reflections for COM Exe or COM DLL? Pin
glitteringsound10-Mar-10 2:19
glitteringsound10-Mar-10 2:19 
GeneralRe: Is it possible for reflections for COM Exe or COM DLL? Pin
Jürgen Jung10-Mar-10 2:21
Jürgen Jung10-Mar-10 2:21 
GeneralRe: Is it possible for reflections for COM Exe or COM DLL? Pin
glitteringsound10-Mar-10 7:51
glitteringsound10-Mar-10 7:51 
QuestionUnable to update system registry Pin
Pryabu9-Mar-10 0:03
Pryabu9-Mar-10 0:03 

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.