On Tuesday, 12 July 2016 at 15:09:26 UTC, Adam Sansier wrote:
I marked the interface extern(C++) so it's a C++ style interface.The first field of a COM object is a pointer to its vtable.
If it is a COM interface, you should make it a COM interface by inheriting from IUnknown.
http://dlang.org/spec/interface.html#com-interfaces