WinMain command line arguments

后端 未结 3 1790
太阳男子
太阳男子 2021-01-19 01:22

The 3rd param to WinMain provides the command line as an unprocessed string. While that may be useful for allowing you to cope with expansion of wildcards and what-not, is t

相关标签:
3条回答
  • 2021-01-19 01:28

    You can use CommandLineToArgvW() to convert to an argv-style array of Unicode strings. Unfortunately, there is no ANSI-string version. Also, beware that this does not set argv[argc] (i.e. the element after the last argument) to NULL.

    0 讨论(0)
  • 2021-01-19 01:34

    CommandLineToArgvW()

    0 讨论(0)
  • 2021-01-19 01:38

    microsoft speciffic:

    __argc and __argv

    0 讨论(0)
提交回复
热议问题