I want to parse command-line arguments of windows application. The windows application main entry point is _tWinMain (or WinMain).
There is no indication of the argv/argc parameters. The reason I need them is because I want to use the getopt function.
Therefore, I need one of 2:
1. Get the...
Well, how did you do that?
I want to use the getopt module in order to retrieve the arguments out of the command-line. How can I do that?
As I see it, there are 2 options:
1. Get the argv/argc and use getopt.
2. Use some mechanism on Windows that I don't know about.
Erez