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: Brian Rathbone <brianrathbone at bellsouth dot net>
Date: Sun, 30 Dec 2007 20:33:01 -0500
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>
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>


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