CommandLineToArgvW LPWSTR *szArglist; int nArgs; szArglist = CommandLineToArgvW(GetCommandLineW(), &nArgs); if(NULL == szArglist) return 0; for(int i=0; i Game Dev/Article 2008.07.22