dmd 1.063 and 2.048 release

dickl dick221z at yahoo.com
Fri Aug 13 06:03:24 PDT 2010


On 8/13/2010 4:28 AM, Mike Parker wrote:
> dickl wrote:
>>
>> Looks like it might be windows specific. This doesn't work (only
>> prints out "again"
>>
>>
>> extern (Windows) int WinMain(HINSTANCE hInstance,HINSTANCE
>> hPrevInstance,LPSTR lpCmdLine,int nCmdShow)
>> {
>
> FYI, if you didn't already know, you can avoid WinMain entirely and just
> use a regular main function and still get a windowed app with no
> console. Just pass the following command line option to DMD:
>
> -L/SUBSYSTEM:windows:5
>
> And you can replace the 5 with a 4 if you want to support Win 9x.

This is just a test example to cut the code size down. It not a 
representation of the application.



More information about the Digitalmars-d-announce mailing list