|
![](/i/fill.gif) |
On Mon, 12 Oct 2009 17:09:06 +0200, Invisible <voi### [at] dev null> wrote:
> More puzzling: CoGetClassObject() allows you to get hold of any class by
> its ClassID. CoCreateInstance() creates any object given a ClassID and
> an InterfaceID. This gives you a pointer to the object's interface. But
> I cannot find any way of actually calling methods. If you have a DLL,
> you can do GetProcAddress() to look up a function and call it. But if
> you have an interface pointer, there doesn't seem to be any way to call
> methods of the interface...
An "interface" is a list of function pointers. In C and C++ the layout of
an interface is typically described in a header file.
--
FE
Post a reply to this message
|
![](/i/fill.gif) |