> You need to link with /Lsu:windows:4 or /Lsu:console:4. That's > DMD's command line syntax. Thanks! Adding -L/SUBSYSTEM:WINDOWS:4 on the command line made it work.