www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Calling a D DLL from Microsoft Visual C/C++ and MinGW

I've gotten calling a D DLL from C++ working, at least with Microsoft 
VC++ and MinGW.  And I presume something similar would work using the 
tools that are included with most compilers.

I wrote up the procedure I used over on this Wiki comments page:

which is the comments page for

where the basics of how to make a DLL are explained.

I couldn't get either Bud or Rebuild to make a usable DLL, but I 
contacted developers of both about the issues.

Feb 18 2007