C ++是否可以在Metro Windows 8 Store App中使用命令行参数?

时间:2014-09-26 15:30:33

标签: c++ windows-8 windows-store-apps command-line-arguments

我已经看到了几种从命令行启动Metro Windows 8商店应用程序的方法,但它们确实可以正常工作,但我一直试图通过在应用程序中使用GetCommandLine方法发送命令行参数,但我无法解析它。 / p>

App::App()
{
    using namespace std;
    wstring strCommandLine;
    strCommandLine = GetCommandLine();
   /*command line parser here*/
}

是否可以在Metro Windows 8商店应用程序中使用命令行参数?

0 个答案:

没有答案