分类: WINDOWS
2010-08-19 14:23:19
chulia200020012010-08-19 16:48:23
CreateProcess函数的正确BCB调用用法: AnsiString sCreateAppPath; AnsiString sCmdLine; AnsString sParam; STARTUPINFO si; PROCESS_INFORMATION pi; memset(&si,0,sizeof(si)); memset(&pi,0,sizeof(pi)); si.cb =sizeof(si); sCreateAppPath = "C:\\xxx.exe"; sParam = " \p"; //\p前面有一个空格 sParam="空格\p"; sCmdLine = sCreateAppPath + sParam; CreateProcess(sCreateAppPath.c_str(), sCmdLine.c_str(), NULL,NULL, fa