#include "stdafx.h" interface class MyInterface { void f(); }; interface class IB : MyInterface { void g(); }; ref class MyClass : IB { public: virtual void f() {} virtual void g() {} };