扫二维码与项目经理沟通
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流
VOID StartMain() { LPWSTR *szArglist; int nArgs; int i; szArglist = CommandLineToArgvW(GetCommandLineW(), &nArgs); if (NULL == szArglist) { wprintf(L"CommandLineToArgvW failed\n"); return ; } else { for (i = 0; i < nArgs; i++) { CString strTemp; strTemp.Format(_T("%s"), szArglist[1]); if (strTemp == _T("1")) StartPrintServer(); if (strTemp == _T("2")) StarUserManage(); } //释放CommandLineToArgvW参数占用的内存. LocalFree(szArglist); return; } }
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流