Windows startup docs are out of date

Jacob Carlborg doob at me.com
Wed Jan 8 02:15:29 PST 2014


On 2014-01-08 09:46, Mike Parker wrote:

> The easiest way is to use main() and add this to the DMD command line:
>
> /SUBSYSTEM:WINDOWS:5.01
>
> This will give you a windowed app with no console popping up *and* the
> command line args are still stored in Runtime.args and passed to the
> main method just as they are in a console app.
>
> Note that 5.01 is for 32-bit. 5.02 should be used when compiling for
> 64-bit.

What's the original idea of WinMain anyway?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list