Thread overview
DLL supposed to work as specified at http://dlang.org/dll.html?
Feb 18, 2013
deed
Feb 19, 2013
Benjamin Thaut
Feb 19, 2013
deed
Feb 23, 2013
Lee Braiden
February 18, 2013
I'm running into several issues, so first, is this supposed to work correctly? I'm looking into D code DLLs called by D code.
February 19, 2013
Am 19.02.2013 00:27, schrieb deed:
> I'm running into several issues, so first, is this supposed to work
> correctly? I'm looking into D code DLLs called by D code.

D code DLLs called by D code are heavly broken. Don't expect it to work.
February 19, 2013
> D code DLLs called by D code are heavly broken. Don't expect it to work.

Any solid workarounds?
February 23, 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