Posted inResearch Software CreateProcess, GetExitCodeProcess and application crash Posted by By Radu Motisan October 20, 2009 When using CreateProcess win32 API make sure the lpCommandLine is not a constant or your application can crash.