Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.016 c
1-74120
plyaznik
2003-10-11 16:23
2003.10.23
нужна процедура


11-74107
mdw
2003-02-07 17:00
2003.10.23
Checked в BitBtn


1-74134
Lam
2003-10-13 15:30
2003.10.23
Время


3-74076
3APA3A
2003-10-01 23:02
2003.10.23
Почему не открывается?


3-74000
Patrick
2003-09-29 08:28
2003.10.23
Индексы для DBF




   Наверх