Using stdin/out in a windows application bugs only when compiled to 64bit.

realhet real_het at hotmail.com
Fri Jun 8 08:14:06 UTC 2018


On Friday, 8 June 2018 at 03:08:21 UTC, Mike Franklin wrote:
> I recall similar issues with a project I was working on, but I 
> don't remember all the details now.  Anyway, I ended up with 
> this in the end.

Using main() instead of WinMain() did the trick too. Also it's 
simpler, so I choose this way. But it was also important to learn 
about the SUBSYSTEM and ENTRY linker options.

Thank you all very much!


More information about the Digitalmars-d-learn mailing list