Windows startup docs are out of date

eles eles at eles.com
Wed Jan 8 02:49:07 PST 2014


On Wednesday, 8 January 2014 at 10:15:30 UTC, Jacob Carlborg 
wrote:
> 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?

http://stackoverflow.com/a/2399064/1284631


More information about the Digitalmars-d mailing list