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


1-31730
KIR
2002-10-01 12:00
2002.10.10
BlockWrite <-> BlockRead


1-31739
Шурик Ш
2002-09-30 16:19
2002.10.10
Передача значений между формами в заранее неизвестной последов.


4-32060
Kirill_
2002-07-24 00:13
2002.10.10
Как добавить свой пунктик в PopupMenu explorer


4-32107
Lamer86
2002-08-27 21:37
2002.10.10
Меню при щелчке правой кнопки мыши на файле




   Наверх