SHELLEXECUTEINFO ShExecInfo = { 0 } ;
ShExecInfo.cbSize = sizeof( SHELLEXECUTEINFO ) ;
ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS ;
ShExecInfo.hwnd = NULL;
ShExecInfo.lpVerb = NULL;
ShExecInfo.lpFile = "DRSINJECT.exe";
ShExecInfo.lpParameters = " gamedata_x1 /Y";
ShExecInfo.lpDirectory = "Game//Data//" ;
ShExecInfo.nShow = SW_SHOW;
ShExecInfo.hInstApp = NULL ;
ShellExecuteEx(&ShExecInfo);
WaitForSingleObject(ShExecInfo.hProcess,INFINITE);
调用ShellExecuteEx执行应用程序
最新推荐文章于 2014-09-26 22:50:22 发布