Thread overview | ||||||
---|---|---|---|---|---|---|
|
February 18, 2013 DLL supposed to work as specified at http://dlang.org/dll.html? | ||||
---|---|---|---|---|
| ||||
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 Re: DLL supposed to work as specified at http://dlang.org/dll.html? | ||||
---|---|---|---|---|
| ||||
Posted in reply to deed | 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 Re: DLL supposed to work as specified at http://dlang.org/dll.html? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Benjamin Thaut | > D code DLLs called by D code are heavly broken. Don't expect it to work.
Any solid workarounds?
|
February 23, 2013 Re: DLL supposed to work as specified at http://dlang.org/dll.html? | ||||
---|---|---|---|---|
| ||||
Posted in reply to deed | 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 |
Copyright © 1999-2021 by the D Language Foundation