|
-
June 5th, 1999, 11:45 PM
#1
How to decide if a program is being executed?
Hi,Gurus:
I would run calc.exe in my application,but
how do I know if it has been executed or not?
Thanks!
-
June 6th, 1999, 12:03 AM
#2
Re: How to decide if a program is being executed?
This is a wrong group to post this type of question. You should post it to VC++ Programming.
Getting back to your question, you should use
CreateProcess to launch calc.exe. This function
should give you new process thread handle. If it
becomes signaled, then calc.exe has finished. See
WaitForSingleObject for further info.
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
|