How to repeat structure C++
MGW via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jan 15 11:00:49 PST 2017
Hi!
I write plugin for 1C:Enterprise 8.3 on dmd now.
https://youtu.be/apLppufZulI
I try to repeat structure C++ (interface) on dmd.
But D no inheritance of structures. What it is possible
to replace with the D following code on C ++struct IInterface {};
C++
-----
struct IMsgBox : public IInterface {
virtual bool Confirm(const wchar* queryText, tVariant* retVal) =
0;
virtual bool Alert(const wchar* text) = 0;
};
More information about the Digitalmars-d-learn
mailing list