[Win] May introduce the entry point of GUI Windows programs WinMain
#7103
Labels
Type: Enhancement
New feature or request
WinMain
#7103
Is your feature request related to a problem? Please describe.
I won't argue the
void entry(void)
is the entry point, but that point is NOT where programmers touch: they considerint WinMain((int)(HINSTANCE) hInst, (int)(HINSTANCE) hInstPrv, (byte*)(LPSTR)(LPCSTR)(LPCTSTR) param, int winState)
as entry.Describe the solution you'd like
In
___tmainCRTStartup()
, it'd be nice to automate to set the name usingbyte* __wincmdln()
asargln
, and the function using those as param as WinMain.Describe alternatives you've considered
Alternatives are not set: I thought about setting WinMain as the entry, but that's always false since it's being called from
___tmainCRTStartup()
being called fromentry()
.Additional context
The text was updated successfully, but these errors were encountered: