DECLARE SHORT CreateProcess IN Win32API; STRING @lpApplicationName,; STRING @lpCommandLine,; STRING @lpProcessAttributes,; STRING @lpThreadAttributes,; STRING bInheritHandles,; INTEGER dwCreationFlags,; STRING @lpEnvironment,; STRING @lpCurrentDirectory,; STRING @lpStartupInfo,; STRING @lpProcessInformation * lcfile was the fully qualified executable file name * lccmndline was the command line * lcdir was its path * lcfalse = CHR(0) * lcStartupInfo, and lcProcessInfo were the same as yours llresult = CreateProcess(@lcfile, @lccmndline, 0, 0, lcfalse, 0, 0, @lcdir, @lcStartupInfo, @lcProcessInfo)If you can get this to work, I would suggest filling in some of the members of the STARTUPINFO structure. It'll give you more control.