News for hackers. Stuff that matters.
Re:Where do argc and argv come from? by jussij on Tuesday August 11, 2020 @12:17AM (#24117112)
The Windows applications can still access this information using the __argc and __argv global variables:

https://docs.microsoft.com/en-us/cpp/c-runtime-library/argc-...

Re:Where do argc and argv come from? by int_19h on Tuesday August 11, 2020 @03:10AM (#24117911)
These also come from the C runtime, not from Windows itself.

And if you are building the app with the C runtime, you may as well just use regular main().