realbasic-nug
[Top] [All Lists]

Re: Multiple app instances

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Multiple app instances
From: Aaron Ballman <aaron at realsoftware dot com>
Date: Sun, 30 Jan 2005 14:12:41 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <41FCCE58 dot 6050807 at adinet dot com dot uy> <070b67f3b8870a0bd4a3f5c28aa45b65 at shaw dot ca> <E0053C84-72F7-11D9-82F2-00039378202C at realsoftware dot com> <946ec09fc3bbef9d68a9ec25fa53cc97 at shaw dot ca> <4F36BD29-72F9-11D9-82F2-00039378202C at realsoftware dot com> <1c208a51abf521c0065c0a0e9afd1d69 at comcast dot net>
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>

<Prev in Thread] Current Thread [Next in Thread>