| 183 | }; |
| 184 | |
| 185 | std::vector<std::wstring> GetCommandLineVector(const wchar_t* cmdline) |
| 186 | { |
| 187 | std::vector<std::wstring> ret; |
| 188 | int argc = 0; |
| 189 | wchar_t** argv = CommandLineToArgvW(cmdline, &argc); |
| 190 | for (int i = 0; i < argc; ++i) |
| 191 | { |
| 192 | ret.emplace_back(argv[i]); |
| 193 | } |
| 194 | return ret; |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | int __stdcall wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd) |