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