Chris Anderson <an******@leavenworth.army.mil> wrote:
Could someone please tell me how I ensure only one instance of an
application can execute concurrently?
The best way is to use a global mutex. If you search for
mutex application one instance
on groups.google.com in relevant groups, you'll get a lot of hits.
Using the process name is more dodgy, IMO, because there may be other
processes with the same name.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too