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

Reply via email to