![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Открытие окна ;Delphi
Gerr © (2002-09-21 19:53:00)Помогите ламаку!
Подскажите как с помощью дельфи дать команду виндовс открыть окно ( и если можно определенный .exe файл) .
Заранее благодарен Gerr.
странно... (2002-09-25 18:12:00) [1]winexec(str,sw_shownormal);
странно... (2002-09-25 18:08:00) [2]F1:
Remarks
Win32-based applications should use the CreateProcess function rather than this function. The WinExec function exists in Win32 to provide compatibility with earlier versions of Windows. For more information about how the WinExec function is implemented, see the Remarks section of the LoadModule function.
Gerr (2002-09-25 18:05:00) [3]скажите пожалуйста почему не работает
procedure TForm1.Button1Click(Sender: TObject);
var str: Pchar;
begin
str:="zzzz.exe";
winexec(str,1);
end;
Shadow (2002-09-21 20:58:00) [4]WinExec(exefilename: Pchar; blablabla: integer)
iNew (2002-09-21 20:14:00) [5]ShellExecute()