dufam, ze netrepnem kktinu, ale ja sice v Delphi , ale spustam pomocou Win32 funkcie
ShellExecute, ktora je sucastou kniznice
shellapi.h
nou mozes spustit akykolvek proces:
Kód: Vybrať všetko
HINSTANCE ShellExecute(
HWND hwnd, // handle to parent window
LPCTSTR lpOperation, // pointer to string that specifies operation to perform
LPCTSTR lpFile, // pointer to filename or folder name string
LPCTSTR lpParameters, // pointer to string that specifies executable-file parameters
LPCTSTR lpDirectory, // pointer to string that specifies default directory
INT nShowCmd // whether file is shown when opened
);
nieco v style:
Kód: Vybrať všetko
ShellExecuteA(0,"open","X:\Adresar\cons_app.exe","parametre","X:\Adresar\", SW_SHOWDEFAULT);
kompletny vypis funkcie najdes v
Win32 Developer's References (WIN32SDK.HLP)