Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.10.10;
Скачать: 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 вся ветка

Текущий архив: 2002.10.10;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.016 c
4-32092
Fellomena
2002-08-27 15:31
2002.10.10
WM_CONTEXTMENU & Hooks (in Win2k)


1-31895
Manulo
2002-09-29 19:58
2002.10.10
Поиск...


14-32013
RV
2002-09-17 16:27
2002.10.10
дайте если есть и нежалко инсталляцию паскаля > 4 версии, плз


8-31906
Ocean
2002-06-10 17:58
2002.10.10
Рисование в контроле


7-32029
Ffaster
2002-07-31 01:29
2002.10.10
Как из своей проги запустить остановить Сервер удалённого доступа