http://d.puremagic.com/issues/show_bug.cgi?id=10034


Simen Kjaeraas <simen.kja...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.kja...@gmail.com


--- Comment #3 from Simen Kjaeraas <simen.kja...@gmail.com> 2013-05-05 15:33:02 
PDT ---
Windows supports neither WinMain nor wWinMain. Windows supports a starting
address. MSVC, on the other hand, supports both WinMain and wWinMain. According
to documentation, WinMain is the official entry point, and wWinMain is magical,
in that it creates a thunk that calls GetCommandLineW and passes that to
wWinMain.

DMD would thus be free to call its Unicode version of WinMain wWinMain,
WinSecondary, foo, or anything else (same goes for the ANSI version). It could
even (gasp!) call it WinMain, and create a thunk if the parameters indicate it
should be using Unicode.

See remarks here:
http://msdn.microsoft.com/en-us/library/ms633559.aspx

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to