Using MinGW DLL with DMD?

Adam D. Ruppe destructionator at gmail.com
Thu Aug 9 06:48:11 PDT 2012


On Thursday, 9 August 2012 at 13:43:18 UTC, Jacob Carlborg wrote:
> Is it possible to link a DLL compiled for MinGW with DMD?

Yeah, I've use dlls made in gcc with dmd. You need to run implib
over the dll to get a .lib and then it works pretty easily.

implib /s mydll.lib mydll.dll


implib can be found in the basic utilities package at digital
mars.

http://www.digitalmars.com/download/freecompiler.html


More information about the Digitalmars-d-learn mailing list