Click here to Skip to main content
15,896,726 members
Home / Discussions / COM
   

COM

 
GeneralRe: How to iterate vtable of COM coclass? Pin
R@jeev K R11-Mar-10 3:11
R@jeev K R11-Mar-10 3:11 
GeneralRe: How to iterate vtable of COM coclass? Pin
KingsGambit11-Mar-10 21:20
KingsGambit11-Mar-10 21:20 
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 
I have got the addresses of functions from vtable but in little wiered manner.

like typedef void (*FN)(void)

FN pFn=0
int* dwPtr= (int*)pSomeInterface;

pFn=(FN)*((int*)*(&dwPtr[Count])+1);//will give the address of QueryInterface
pFn=(FN)*((int*)*(&dwPtr[Count])+2);//will give the address of AddRef
pFn=(FN)*((int*)*(&dwPtr[Count])+3);say release
pFn=(FN)*((int*)*(&dwPtr[Count])+6);//and finally my method Sum

but this is all hardcoded stuff and little wiered.

I in a search of some generic usefull method to lookup their addresses and then I NEED their NAME as well so that which ever at runtime I give the name as function my app should traverse and call only that method
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 
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 

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.