realbasic-nug
[Top] [All Lists]

Re: Mutex again ... Win32

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Mutex again ... Win32
From: Giovanni <rbml at alphaview dot com>
Date: Sun, 30 Dec 2007 18:05:01 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <490926 dot 55550 dot qm at web60425 dot mail dot yahoo dot com> <477846CD dot 3010003 at bellsouth dot net>
Agreed, check for instance of your app BEFORE launching your windows,  
or any code.

That way, it will not show at all as this happens almost instantly.


Kind regards,

Giovanni
rbml at alphaview dot com



On Dec 30, 2007, at 5:33 PM, Brian Rathbone wrote:

> Lennox Jacob wrote:
>
>> What I notice is that with the mutex the second instance of the app  
>> opens briefly then closes.
>>
>> Is there a way of preventing the second instance from opening any  
>> at all?
>>
>> Thanks.
>>
>> Lennox
>>
>>
>
> Your application will get launched and will need to execute the code  
> to
> check for mutex. Perhaps you could remove your default window and only
> show your window after the mutex code has executed. Your app will  
> still
> get launched, but you won't necessarily see it.
>
> hth,
>
> Brian
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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