Current status of DLLs
Jakob Ovrum
jakobovrum at gmail.com
Wed Nov 7 23:43:56 PST 2012
On Wednesday, 7 November 2012 at 10:24:25 UTC, Benjamin Thaut
wrote:
> For example: Exporting the Module init symbol is not supported,
> so every module that only exists in a dll will generate a
> linker error. Also I had some cases where even the vtable
> symbol did not get exported (despite the that the class was
> declared as export) and caused yet another linker error. Also
> there are quite some issues with thread local storage and data
> symbols are not supported at all by dmd. The only thing that
> truly works is exporting C-Style functions or COM.
Actually, when making DLLs with GDC, the module init is
automatically exported.
More information about the Digitalmars-d-learn
mailing list