How to call a method of class D from function of C++ in DLL?

MGW via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 28 01:20:52 PDT 2016


On Saturday, 27 August 2016 at 07:13:01 UTC, Nicholas Wilson 
wrote:
> easiest method would be to mark the D class extern(C++) noting 
> that in C++ a D class reference becomes a pointer to the C++ 
> class.

In "the D class extern(C++)" do't work phobos.



More information about the Digitalmars-d-learn mailing list