make D windows-aware

Sean Kelly sean at f4.ca
Wed Mar 22 13:45:54 PST 2006


Jarrett Billingsley wrote:
> DMD is Windows-aware in the sense that if you have a WinMain(), it emits a 
> reference to acrtused or whatever, but what I mean is make it so we don't 
> have to manually put all the D init / deinit code in the WinMain().  I mean, 
> when we define main() for a console program, it automatically calls dmain() 
> which calls main().  Why not make it so when we define WinMain(), it 
> automatically calls DWinMain() before our WinMain() or something?

This thread seems pertinent:

http://www.digitalmars.com/d/archives/digitalmars/D/learn/1815.html

Sean



More information about the Digitalmars-d mailing list