CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 1999
    Posts
    18

    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!


  2. #2
    Join Date
    May 1999
    Posts
    5

    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
  •  





Click Here to Expand Forum to Full Width

Featured