[Issue 16063] DLL projects seem to ignore DllMain, won't link
https://issues.dlang.org/show_bug.cgi?id=16063 Rainer Schuetzechanged: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Rainer Schuetze --- Fixed in https://github.com/dlang/visuald/releases/tag/v0.44-beta2 --
[Issue 16063] DLL projects seem to ignore DllMain, won't link
https://issues.dlang.org/show_bug.cgi?id=16063 --- Comment #3 from Manu--- Ah, I don't think I've ever used optlink since your 32bit COFF work was merged ;) --
[Issue 16063] DLL projects seem to ignore DllMain, won't link
https://issues.dlang.org/show_bug.cgi?id=16063 Rainer Schuetzechanged: What|Removed |Added CC||r.sagita...@gmx.de --- Comment #2 from Rainer Schuetze --- I noticed this too recently. This only happens when using the MS linker (also for 32-bit DLLs), not with optlink. --
[Issue 16063] DLL projects seem to ignore DllMain, won't link
https://issues.dlang.org/show_bug.cgi?id=16063 --- Comment #1 from Manu--- Seems that it expects '/DLL' given to the linker, but it's not. I added -L/DLL to additional options and it links. This should probably be there automatically. --