Yu weidong
June 5th, 1999, 11:45 PM
Hi,Gurus:
I would run calc.exe in my application,but
how do I know if it has been executed or not?
Thanks!
I would run calc.exe in my application,but
how do I know if it has been executed or not?
Thanks!
|
Click to See Complete Forum and Search --> : How to decide if a program is being executed? Yu weidong June 5th, 1999, 11:45 PM Hi,Gurus: I would run calc.exe in my application,but how do I know if it has been executed or not? Thanks! Dan Ut June 6th, 1999, 12:03 AM 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. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |