CreateProcess is a little tricky to use. Thus I write the full example code here so you don’t have to worry. uses SysUtils, JwaWindows, JwsclStrings; procedure StartApp(const App, Parameters, CurDir : TJwString); var   StartupInfo: {$IFDEF UNICODE}TStartupInfoW{$ELSE}TStartupInfoA{$ENDIF};   ProcInfo : TProcessInformation;   pEnv : Pointer;   pCurDir,   pCmdLine : TJwPChar; begin   ZeroMemory(@StartupInfo, sizeof(StartupInfo)); [...]