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
>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
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
Hiya,
If you havent noticed, I'm trying to port the d3d8 code into wined3d and
make it common for use from d3d9, and this is all COM objects. I have come
across something which in theory would enable me to tidy my code simply, but
I cant see how to make it work in C.
Now I have a class, for examp