Re: COM inheritence

2004-10-12 Thread Robert Shearman
Ann and Jason Edmeades wrote: Have a look at dlls/quartz/pin.h I have emulated C++ style inheritance by creating a structure that is included at the start of every derived implementation and then constructing the vtable at compile time and linking to the base functions. If you wanted to do the same

RE: COM inheritence

2004-10-12 Thread Ann and Jason Edmeades
>Have a look at dlls/quartz/pin.h >I have emulated C++ style inheritance by creating a structure that is >included at the start of every derived implementation and then >constructing the vtable at compile time and linking to the base >functions. If you wanted to do the same for d3d{8,9} and wined3d

Re: COM inheritence

2004-10-11 Thread Robert Shearman
Ann and Jason Edmeades wrote: However, this would seem something which is so common - ie inheritence is used all over the place. How do people handle this? I've looked through a few places in the code and cant see how this can be done. I could 'pretend' by initializing the Vtbl as I create the com