lpVtbl in C++

  • Thread starter Thread starter Gürkan Demirci
  • Start date Start date
G

Gürkan Demirci

Hi,

i want to get die function pointer of a com object in c++.
With C it works fine with "object->lpVtbl->Function".
In C++ it doesn't work with "object->Function".
Why ?

regards,

Gürkan
 
Gürkan Demirci said:
Hi,

i want to get die function pointer of a com object in c++.
With C it works fine with "object->lpVtbl->Function".
In C++ it doesn't work with "object->Function".
Why ?

regards,

Gürkan

vtable and COM are not the same thing

Most particularly, remove COM objects are not served directly via a
vtable (the vtable you see local to you belongs to a proxy).

Posting some simplified sample code might help get a more useful
answer (I realize mine is too general to be helpful -- I'm sorry about
that).
 
Back
Top