| Title: | Windows NT |
| Notice: | See note 15.0 for HCL location |
| Moderator: | TARKIN::LIN .com::FOLEY |
| Created: | Thu Oct 31 1991 |
| Last Modified: | Fri Jun 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 6086 |
| Total number of notes: | 31449 |
Is there a way to determine the pid of a process that has terminated.
we are writinga visual basic application where we have to
determine when a particular process has terminated. How do
we do this? Or is it a question meant for the VB notes file
Thanks
Suresh
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 5857.1 | CANDOO::GRIEB | Mon Mar 31 1997 08:42 | 6 | ||
open a handle to the process and the do a WaitForSingleObject() on it. Handles get signaled when a process exits. (don't forget to close the handle though !!) | |||||
| 5857.2 | SHOGUN::JAMBU_S | Skating away on the thin ice of a new day | Mon Mar 31 1997 10:40 | 5 | |
Can this be done from VB 3.0?
Thanks
Suresh
| |||||
| 5857.3 | CANDOO::GRIEB | Tue Apr 01 1997 08:26 | 6 | ||
>Can this be done from VB 3.0?
If you can call WIN32 APIs then it can be done.
| |||||