Misha Koshelev mk144210@bcm.edu writes:
+interface AutomationObject {
- /*
* VTables - We provide IDispatch, IProvideClassInfo, IProvideClassInfo2, IProvideMultipleClassInfo
*/
- const IDispatchVtbl *lpVtbl;
- const IProvideClassInfoVtbl *lpvtblIProvideClassInfo;
- const IProvideClassInfo2Vtbl *lpvtblIProvideClassInfo2;
- const IProvideMultipleClassInfoVtbl *lpvtblIProvideMultipleClassInfo;
IProvideClassInfo and IProvideClassInfo2 are base classes of IProvideMultipleClassInfo, so you don't need 3 different vtbls.