Re: Using MinGW DLL with DMD?

2012-08-09 Thread dnewbie
There's an example: http://my.opera.com/run3/blog/2012/01/24/mixing-c-and-d-on-windows-part-1

Re: Using MinGW DLL with DMD?

2012-08-09 Thread Jacob Carlborg
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/

Re: Using MinGW DLL with DMD?

2012-08-09 Thread Dejan Lekic
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

Re: Using MinGW DLL with DMD?

2012-08-09 Thread Dejan Lekic
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

Re: Using MinGW DLL with DMD?

2012-08-09 Thread Adam D. Ruppe
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

Using MinGW DLL with DMD?

2012-08-09 Thread Jacob Carlborg
Is it possible to link a DLL compiled for MinGW with DMD? -- /Jacob Carlborg