On Jan 30, 2005, at 5:08 AM, Mario Buchichio wrote:
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?
Is this on Windows ?
The Mac's default is to not ever do this anyways.
On Windows you use a mutex (see the Windows Functionality Library) to
detect that a mutex already exists (basically a flag saying "I'm
already running") and then hand it off to the other instance (that I'm
not sure how you do ....)
_______________________________________________
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>
|