What is wrong with this boilerplate mixin?

AF noemail at noemail.com
Mon Oct 23 23:33:48 PDT 2006


Thanks for the hint. It was the hInstance I was missing up without
WinMain.

I think the official recommandation (and example) should be with
main() not with WinMain(). For all old Win programmers, WinMain
could be obvious. However, for a novice it seems pretty confusing
to change paradigm according to OS and maybe bracket everything
with version(){}.

My opinion, however.

Thanks for the submitted code (with function pointers) and for
overall help. I will give it a try.

AF



More information about the Digitalmars-d-learn mailing list