Вниз
Скачать: 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.009 c
14-31984
Cobalt
2002-09-13 19:13
2002.10.10
Поиск в MSDN


3-31590
kserg@ukr.net
2002-09-18 11:50
2002.10.10
BDE --> ExcelBook


7-32053
Metallica
2002-07-31 10:21
2002.10.10
---> Блокировка


1-31863
#Deus
2002-09-29 11:18
2002.10.10
Случайные числа


1-31900
BIG BROTHER
2002-09-23 20:34
2002.10.10
OPEN FOLDER




   Наверх