![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
ShellExecute [D6, Win2k]
Shrek © (2002-08-26 21:49:00)Как используя ShellExecute при запуске программы передать параметр? Желательно пример.
Shrek (2002-08-26 21:56:00) [1]
> Song © (26.08.02 21:54)
Спасибо тебе огромное!
Song (2002-08-26 21:54:00) [2]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:00) [3]Народ простите:
Будет так:
ShellExecute(Handle, "Open", "Project1.exe", "MyParam", nil, SW_SHOWNORMAL);