Thus it would be rare indeed to want only to use a mutex detect the
existing instance and then just quit and not be concerned with the
existing instance in some way, no?
That depends on what your application does. For example, if your
application is meant to be a service, then there's nothing to bring to
the front. And if your application isn't document-based, then there's
nothing to open.
But there certainly are plenty of cases where you would want to cause
the other application to do something sensible, in which case you
should use something like an IPCSocket to cause the action to happen.
HTH!
~Aaron
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|