DLL supposed to work as specified at http://dlang.org/dll.html?

Lee Braiden leebraid at gmail.com
Sat Feb 23 15:33:29 PST 2013


On Tue, 19 Feb 2013 22:41:04 +0100, deed wrote:

>> D code DLLs called by D code are heavly broken. Don't expect it to
>> work.
> 
> Any solid workarounds?

I don't really know the issues with this, but I do know that Walter was 
just saying in his latest talk that fixing this particular issue will be 
the focus for the next release.

For now, I guess it MIGHT work if you declare your interfaces as extern 
"C", and then just treat it as a normal C library in terms of linking and 
using it.


-- 
Lee
 


More information about the Digitalmars-d-learn mailing list