Вниз
Скачать: CL | DM;

ShellExecute   Найти похожие ветки 

 
Shrek ©   (2002-08-26 21:49) [0]

Как используя ShellExecute при запуске программы передать параметр? Желательно пример.


 
Song ©   (2002-08-26 21:54) [1]

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
);


 
Shrek ©   (2002-08-26 21:54) [2]

Народ простите:
Будет так:
ShellExecute(Handle, "Open", "Project1.exe", "MyParam", nil, SW_SHOWNORMAL);


 
Shrek ©   (2002-08-26 21:56) [3]


> Song © (26.08.02 21:54)

Спасибо тебе огромное!



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.01 c
1-31820
SONY
2002-09-26 14:07
2002.10.10
Как сделать чтобы для определнного столбца в DBGrid


7-32023
Dennis S
2002-07-29 13:55
2002.10.10
название метки жесткого диска


1-31798
Демонов Е.В.
2002-10-01 11:30
2002.10.10
Вопрос О COLOR-e


1-31846
Alele
2002-09-27 22:08
2002.10.10
Вопрос для каждого!


1-31815
AndreyV.
2002-10-02 12:57
2002.10.10
Продвинутый ComboBox




   Наверх