D threading and shared variables

Johan Engelen j at j.nl
Sun Apr 7 22:18:56 UTC 2019


On Sunday, 7 April 2019 at 14:08:07 UTC, Archie Allison wrote:
>
> This generally works OK when tied to a Console but when link 
> options are changed to be SUBSYSTEM:WINDOWS and 
> ENTRY:mainCRTStartup it rarely does.

Manually setting the entry point sounds problematic if no other 
precautions are taken. Are you sure that druntime is initialized? 
See [1].

- Johan

[1] https://wiki.dlang.org/D_for_Win32


More information about the Digitalmars-d-learn mailing list