Incorporating D

Walter Bright newshound2 at digitalmars.com
Fri Jan 25 14:55:36 PST 2013


On 1/25/2013 1:06 PM, q66 wrote:
> As he apparently is on Windows, you can only do this with a D DLL,

Not true. Nothing says you have to use a DLL.

> which are
> likely to be a PITA (but at least they should work unlike on un*x); you can't
> really link D object files and C/C++ object files together, as on win32 OMF is
> used (you could use unilink, but that's so obscure I wouldn't expect a newbie to
> mess with this at all). So I'd take this as "no"

On win32, if your C++ code is compiled with DMC++, you can link them together. 
On Win64, you can link in code compiled with VC++.


More information about the Digitalmars-d mailing list