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

    How to find if an application is running or not

    In vc++ , what function should I use to see if a particular application is running or not.
    Can anybody please help me out.
    Thankyou


  2. #2
    Join Date
    Feb 2000
    Posts
    42

    Re: How to find if an application is running or not

    well , you didn't mentioned if you're developing on WinNt or Win9x but in general there's an api that enumerates all the processes on the machine (psapi.dll for WinNt , i can't recall the one for Win9x) you can learn all about it by looking in the msdn. mail me if you need more specific info


  3. #3
    Join Date
    Oct 2001
    Location
    Florida
    Posts
    3

    Re: How to find if an application is running or not

    U can use FindWindowEx
    You can use the windows class which you can see with spy or
    use the name of the titlebar


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