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 IInter
On Sunday, 15 January 2017 at 19:00:49 UTC, MGW wrote:
Hi!
struct IInterface {};
struct IMsgBox : public IInterface {
virtual bool Confirm(const wchar* queryText, tVariant* retVal) =
0;
virtual bool Alert(const wchar* text) = 0;
};
On Sunday, 15 January 2017 at 19:05:06 UTC, MGW wrote:
struct IInterface {};
struct IMsgBox : public IInterface {
virtual bool Confirm(const wchar* queryText, tVariant* retVal)
= 0;
virtual bool Alert(const wchar* text) = 0;
};
That's just interfaces and classes in D, so change struc
On Monday, 16 January 2017 at 00:07:44 UTC, Adam D. Ruppe wrote:
That's just interfaces and classes in D, so change struct to
those words and go fro there.
// --- jd.d: compile: dmd -c jd
import std.stdio;
extern (C++) interface IHome { int sum(int, int); };
extern (C++) void printIHome(vo