|
-
May 3rd, 1999, 03:58 PM
#1
Problem in Threads
Hi I created a thread which spawns a application. the spawn is no wait, and i want to get when the thread is quit. I dont want to use a loop to check the status(for STILL_ACTIVE). is there a way to check the thread is ended?
It is urgent , can anybosy help me?
-
May 3rd, 1999, 07:17 PM
#2
Re: Problem in Threads
Use ShellExecuteEx()
wait for the process' handle in a thread and that's all
Sally
-
May 3rd, 1999, 08:10 PM
#3
Re: Problem in Threads
use WaitForSingleObject(threadHandle, ...)
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
|