Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.10.23;
Скачать: CL | DM;

Вниз

Запуск exe файла   Найти похожие ветки 

 
jazz   (2003-10-09 18:32) [0]

Как загрузить exe файл?? и очень нужное как определить закончил этот exe файл свой запуск..


 
MBo ©   (2003-10-09 18:34) [1]

createprocess.
FAQ и форум API


 
Zew ©   (2003-10-09 20:24) [2]

Например можно вот так
function WinExecAndWait(Path: PChar; Visibility: Word): Word;
var
InstanceID: THandle;
Msg: TMsg;
begin
InstanceID := WinExec(Path, Visibility);
if InstanceID < 32 then { значение меньше чем 32 указывает на ошибку }
WinExecAndWait := InstanceID
else
repeat
while PeekMessage(Msg, 0, 0, 0, pm_Remove) do
begin
if Msg.message = wm_Quit then
Halt(Msg.WParam);
TranslateMessage(Msg);
DispatchMessage(Msg);
end;
until
GetModuleUsage(InstanceID) = 0;
WinExecAndWait := 0;
end;



Страницы: 1 вся ветка

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

Наверх




Память: 0.46 MB
Время: 0.02 c
7-74506
Andr
2003-08-11 19:04
2003.10.23
Открытие другого приложения из Delphi


3-74051
ALFA
2003-10-02 15:37
2003.10.23
ПЕРЕКОДИРОВКА


1-74314
race1
2003-10-11 18:45
2003.10.23
Length ( Line ) := ?


14-74478
NightCold
2003-10-02 22:16
2003.10.23
SMTP


8-74332
Ilg
2003-06-21 17:08
2003.10.23
Текстурная заливка