全文预览

2011计算机等级考试二级C++辅导实例编程汇总

上传者:学习一点 |  格式:pdf  |  页数:122 |  大小:7633KB

文档介绍
,WM_CLOSE,NULL,NULL);\r)\rÞß!ʚàH³ICreateProcessÖºBáU&³Iâã%Ö%äåxz&Ùz\rwÈÉæʚ\r///­\rintCStaticFunc::CreateNewProcess(LPCSTRpszExeName)\r(\rPROCESSçNFORMATIONpiProcInfoGPS;\rSTARTUPINFOsiStartupInfo;\rSECURITY_ATTRIBUTESsaProcess,saThread;EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rZeroMemory(&siStartupInfo,sizeof(siStartupInfo));\rsiStartupInfo.cb=sizeof(siStartupInfo);\rsaProcess.nLength=sizeof(saProcess);\rsaProcess.lpSecurityDescriptor=NULL;\rsaProcess.blnheritHandle=true;\rsaThread.nLength=sizeof(saThread);\rsaThread.lpSecurityDescriptor=NULL;\rsaThread.blnheritHandle=true;\rreturn::CreateProcess(NULL,(LPTSTR)pszExeName,&saProcess,\r&saThread,false,\rCREATE_DEFAULT_ERROR_MODE,NULL,NULL,\r&siStartupInfo,&piProcInfoGPS);\rw/­h:\rWinExec(lpCmdLine,uCmdShow);

收藏

分享

举报
下载此文档