Re: Detecting a running application

From: J French (erewhon_at_nowhere.com)
Date: 08/28/04

  • Next message: Rob Kennedy: "Re: Detecting a running application"
    Date: Sat, 28 Aug 2004 06:52:10 +0000 (UTC)
    
    

    On Fri, 27 Aug 2004 13:55:26 GMT, Mark Shapiro <infocus@swbell.net>
    wrote:

    >How can I detect whether an application is currently running? Would I
    >need to check for the executable's name or the caption of its main
    >form?

    While using a Mutex is a good way of detecting that another instance
    is running, one still generally needs to communicate between the two
    instances.

    Personally I prefer
        RegisterWindowMessage
    and
        SendMessage( HWND_BROADCAST ...


  • Next message: Rob Kennedy: "Re: Detecting a running application"