Главная страница
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.029 c
3-73992
BAYES
2003-09-30 15:49
2003.10.23
Неделя инсталяции BDE.


1-74319
X-Shadow
2003-10-11 21:39
2003.10.23
ActiveX и приложение


1-74242
alena.svt
2003-10-13 14:43
2003.10.23
Клавиатура


3-74020
KGB
2003-10-02 14:37
2003.10.23
Non-blob column in table required to perform operation


1-74223
P0tia
2003-10-11 23:29
2003.10.23
Проблема с модулем