Qt-interest Archive, May 2007
Does QAxServer fully support dual interfaces?
Message 1 in thread
I wonder if QAxServer fully supports both IDispatch and VTBL dual
interfaces.
Thanks,
Lingfa
--
[ signature omitted ]
Message 2 in thread
"Lingfa Yang" <lingfa@xxxxxxx> wrote in message
news:4641F54A.4020002@xxxxxxxxxx
>I wonder if QAxServer fully supports both IDispatch and VTBL dual
>interfaces.
>
> Thanks,
> Lingfa
No, only dispinterface is supported, as you can see from the IDL of the
resulting type library.
Support for VTBL would require C++ to be able to generate a virtual table
at runtime (which it can't; ATL uses a predefined 1024-entries VTBL, and
nasty code to get the parameters from the stack), and you to implement
that interface in your class (which you don't, obviously).
Volker
--
[ signature omitted ]