Though the program built with dub is now crashing at runtime when calling `writeln` within the `WinMain` block.

Back then when I was trying to use writeln (or any standard output function like printf)in a non-console app in Windows it used to crash, I don't know exact reason behind it but you might want to use AllocConsole to workaround it.

If the same code works fine with -m32 but not -m32mscoff (or -m64) then I have no idea.

Reply via email to