Hi All

When a Process is terminating and you are waiting for the process to complete
its Termination, i.e. waiting on GetExitCodeProcess <> STILL_ACTIVE.
Does anyone know if there is a temporary state ("error code") returned by
GetExitCodeProcess, between STILL_ACTIVE and the Process Termination fully
Completed.
Something like "Terminating" ???

What we are doing is running the process, waiting for it to terminate, and then
closing the handles for the Thread and Process, and deleting the EXE.
Every now and then the close handle fails (The GetExitCodeProcess succeeds) and
the delete fails.

any help much appreciated...


Regards
Paul McKenzie

=========================
Paul McKenzie
Jetbet II Developer
=========================
[EMAIL PROTECTED]
Ph: (04) 576-6822

T.A.B. National Office
106-110 Jackson Street
Petone
New Zealand



---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to