CreateProcess( LPCTSTR lpApplicationName, //pointer to name of executable moudle LPTSTR cmdLine, //pointer to command line string LPSECURITY_ATTRIBUTES lpProcessAttributes, //pointer to process security attributes LPSECURITY_ATTRIBUTES lpThreadAttributes, //pointer to theread security attributes BOOL bInheritHandle , //handle inheritance flag DWORD dwCreationFlag,//various creation flags LPVOID lpEnviroment,//Enviroment variable LPCTSTR lpCurrentDirectory, //Child's current directory LPSTARTUPINFO lpStartupInfo, //pointer to StartupInfo LPPROCESS_INFORMATION lpProcessInformation //pointer to PROCESS_INFORMATION ) 虽然有很多参数,不过在现阶段的实验级别,大多数参数只要用默认值即可。