其中 STARTUPINFO si = {sizeof(si)};// 这一句可以替换成: STARTUPINFO si; ::ZeroMemory(&si,sizeof(si)); si.cb = sizeof(si);