On Thursday, 9 August 2012 at 13:48:14 UTC, Adam D. Ruppe wrote:
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
Yes, this works in most cases, but when it does not, then you
have to use DEF files and modify/add symbols. It is not
complicated, just time-consuming...