|
-
October 3rd, 2002, 07:56 AM
#1
how can I determine if a process has terminated ??
Hi All..
I have a windows based app which when closing has to unload a large amount of resources. My problem is that another application needs to know when the process has completely finished unloading its resources. The window of the first process dies long before the resources are completely unloaded so I need to find a way of determining whether the process is still active or if it has finished and therefore died...
This is proving more complicated than I expected.
Does anyone know how I can do this using WIN32 api calls.
Any help pointers or suggestions would be gratefully received..
Thanks in advance
Phill
-
October 3rd, 2002, 08:33 AM
#2
Having process handle you can call WaitForSingleObject.
Process handle becomes signaled when process terminated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|