Re: Detecting a running application
From: J French (erewhon_at_nowhere.com)
Date: 08/28/04
- Previous message: Brian: "POP3 message rule"
- In reply to: Mark Shapiro: "Detecting a running application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 ...
- Previous message: Brian: "POP3 message rule"
- In reply to: Mark Shapiro: "Detecting a running application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]