in file oleidle.h
As IViewObject2 hinerits directly from IViewObject.
class A : public IViewObject2
Compiles in both compilers but if you try to get a
IViewObject interface on mingw then the vtable is
screwed and the first call on the IViewObject interface
results in the destructer of the object being called.
class B : public IViewObject, public IViewObject2
results in a compiler failure with msvc, but is needed in
order to avoid crashing in mingw.
Log in to post a comment.