Вниз
Скачать: 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-74312
Dimaz-z
2003-10-13 19:41
2003.10.23
Как сделать, чтобы только одна форма была активной ...


6-74369
Demetrius2003
2003-08-26 16:48
2003.10.23
WinSock


1-74298
DimaK
2003-10-12 12:46
2003.10.23
RichEdit


1-74283
KSergey
2003-10-10 18:10
2003.10.23
Default Button


6-74366
BillyJeans
2003-08-29 15:40
2003.10.23
UCP протокол...




   Наверх