美文网首页
How to get the command line argu

How to get the command line argu

作者: 锦囊喵 | 来源:发表于2020-07-03 14:51 被阅读0次

    Use GetCommandLine(), which returns the name of the file being executed, followed by the arguments.

    The application member m_lpCmdLine (used like yourApp.m_lpCmdLine) contains only the arguments.

    There is also CWinApp::ParseCommandLine() that you may find useful.

    Also try the ATL COM wizard to create a non-MFC dialog application (chose the .exe option, not .dll).

    相关文章

      网友评论

          本文标题:How to get the command line argu

          本文链接:https://www.haomeiwen.com/subject/joysqktx.html