我已经看到了几种从命令行启动Metro Windows 8商店应用程序的方法,但它们确实可以正常工作,但我一直试图通过在应用程序中使用GetCommandLine方法发送命令行参数,但我无法解析它。 / p>
App::App()
{
using namespace std;
wstring strCommandLine;
strCommandLine = GetCommandLine();
/*command line parser here*/
}
是否可以在Metro Windows 8商店应用程序中使用命令行参数?