'startupInfo' is not the same type as 'processInfo'. I don't think they are the same size...Code:STARTUPINFO startupInfo; PROCESS_INFORMATION processInfo; ZeroMemory( &startupInfo, sizeof(processInfo) ); startupInfo.cb = sizeof(startupInfo); ZeroMemory( &processInfo, sizeof(processInfo) );
Viggy




Reply With Quote