Вниз
Скачать: 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.02 c
6-74356
scruff
2003-08-23 20:01
2003.10.23
Голосовой чат для лок сети


1-74287
Makhanev A.S.
2003-10-13 00:01
2003.10.23
Callback функции...


14-74466
Zhouck
2003-10-03 14:16
2003.10.23
Fast Report


4-74540
ShadoWFM
2003-08-18 20:09
2003.10.23
Ярлык на моей форме


7-74484
Gepard
2003-08-08 11:56
2003.10.23
Serial port & nine-bit @NT




   Наверх