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

Bill Baxter dnewsgroup at billbaxter.com
Sun Feb 18 18:47:29 PST 2007


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:
   http://www.prowiki.org/wiki4d/wiki.cgi?DocComments/DLLs

which is the comments page for
   http://www.digitalmars.com/d/dll.html

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.

--Bill



More information about the Digitalmars-d mailing list