There's an example:
http://my.opera.com/run3/blog/2012/01/24/mixing-c-and-d-on-windows-part-1
On 2012-08-09 15:48, Adam D. Ruppe wrote:
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/
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 w
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?
Yes, it is possible.
Long ago i have dealt with this almost on a daily basis (we used
Borland C++ Builder on Windows in the former company I worked
for).
The easiest
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
Is it possible to link a DLL compiled for MinGW with DMD?
--
/Jacob Carlborg