compilation issues in a shared library project
Jonathan Villa via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jun 14 19:00:30 PDT 2015
On Tuesday, 9 June 2015 at 14:30:24 UTC, Benjamin Thaut wrote:
> Shared libraries (DLLs) don't work on windows. They only work
> for the simplest of all cases (e.g. global functions) and even
> then there are pitfalls. Just don't do it. The only viable
> option currently is to link statically or put _all_ your D code
> into one single Dll and use that Dll from C. Any other use case
> is bound to fail. I'm currently working on propper dll support
> for D but it is a lot of work.
>
> Kind Regards
> Benjamin Thaut
ah ok, thank you very much for the advise :)
More information about the Digitalmars-d-learn
mailing list