摘要:
//封装CreateProcessBOOL CFXNAdhocDemoDlg::ProcessCmd(LPTSTR cmd){ ASSERT(cmd!=NULL); STARTUPINFO si; PROCESS_INFORMATION pi; ZeroMemory( &si, sizeof(si) ); si.cb = sizeof(si); ZeroMemory( &pi, sizeof(pi) ); // Start the child process. if( !::CreateProcess( NULL, // No module name (use command 阅读全文