Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Maayan

  1. Maayan

    How to get command-line arguments in Windows application?

    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...
  2. Maayan

    argc argv in winmain

    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

Part and Inventory Search