SUMMARY: On Windows, each time the user double clicks a data file, a
 separate copy of my app is opened. It should open the original
 instance.

So it looks like Mutex is the way to go to detect the second copy of the app opening.

However how do you communicate to the other copy of the app? Christian Schmitz notes that inter-app communication on the same computer via networking (to "127.0.0.1") is not reliable because, for instance, networking may not be enabled or multi-users may be logged in.

Communicating to the other copy of the app is essential to tell it to open the double clicked data file.

FYI, Christian wrote a good article in issue 2.2 of RB Developer on using Mutex for this or, even easier, you can use his MBS plugin.
_______________________________________________
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>

Reply via email to