Run other EXE programs plus WinProcs unit str: = extractFilePath (Application.exename) '/ Clothing / Clothing Inventory Management System .EXE'; (STR is variable) Winexec (Pchar (STR), SW_NORMAL);
Run other programs plus shellapi unit str: = 'c: / documents and settings / administrator / desktop / kzh / document / whack.chm'; (STR is variable) Shellexecute (0,' Open ', PCHAR (STR), NIL, NIL, SW_NORMAL); WINEXEC ('execution file', display mode) display mode: sw_hide = 0; hidden window sw_shownormal = 1; normal mode sw_showminimized = 2; minimize sw_showmaximized = 3; maximize sw_shownoactivate = 4; activation window