hirenshah
asked on
File Execution ...
By using << ShellExecute >> function it have run 3 executable files. But it get executated one by one. It does not wait till previous execution get completed.
How can I execute file and wait till first execution completed and then execute another file in loop.
How can I execute file and wait till first execution completed and then execute another file in loop.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
function WinExecAndWait32(FileName:
begin
[...]
GetExitCodeProcess(Process
CloseHandle(ProcessInfo.hP
CloseHandle(ProcessInfo.hT
end;
end;
Regards, Madshi.