static constructor not working with WinMain GUI app

Michal Minich michal.minich at
Tue Nov 23 14:52:28 PST 2010

On Tue, 23 Nov 2010 15:23:12 -0500, Andrej Mitrovic wrote:

> The static constructor is never called when using WinMain.

Make sure you use newest DMD, I think in 2.048 or 49 there was bug that 
module constructors were not called.

More information about the Digitalmars-d-learn mailing list