win64 DLL stdout printing after main process completes

Adam D. Ruppe destructionator at gmail.com
Mon Apr 19 18:33:21 UTC 2021


On Monday, 19 April 2021 at 14:55:03 UTC, cc wrote:
> https://wiki.dlang.org/Win32_DLLs_in_D

I'm starting to think half that page should just be deleted... 
the version up top with the druntime dll_process_attach etc 
versions should really be used in all cases.

And that gets even simpler too, use

import core.sys.windows.dll;
mixin SimpleDllMain;

and you get that boilerplate for free.


More information about the Digitalmars-d-learn mailing list