How can I properly use CreateProcess to instantiate a new process?
Question: Here is the code I’m using (the error is posted where it occurs):=================================TypePROCESS_INFORMATION = record hProcess: Longint; hThread: Longint; dwProcessID: Longint; dwThreadID: Longint;End;Procedure ExecCmd(cmdline: String);varprocc: PROCESS_INFORMATION;startup: TSTARTUPINFO;ret1: longint;ret2: longint;ret3: