To simplify things, I've put together a module w/ Windows mutex functions
online for anyone wishing to implement this behavior...
http://www.callerid.com/?page=realbasic
Just add it to your project, and call the CreateMutex function in the Open
event of your App. The module also has a function to bring focus to the already
running version of the app if it exists.
Hope this helps.
-------Original Message-------
> From: Mario Buchichio <mbuchichio at adinet dot com dot uy>
> Subject: Multiple app instances
> Sent: 30 Jan 2005 12:08:56
>
> Hi list
>
> Could't find any info in this matter:
> How do I avoid launching another instance of my app when opening a
> document from the desktop?
> My app is already running and when I double click a document to be
> opened by my app another instance is launched?
>
> Thanks
>
> _______________________________________________
> 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>
-------Original Message-------
_______________________________________________
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>
|