Home » Developing U++ » U++ Developers corner » Open file in already opened app instead of launching a second copy
Re: Open file in already opened app instead of launching a second copy [message #25978 is a reply to message #25973] |
Mon, 22 March 2010 23:25   |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
Thank you, Koldo 
But now the problem is that second application should "send" to first one it's command line, so if I doubleclick a file it'll open on the first running instance.
Example, filea a.myapp and b.myapp
I doubleclick on a.myapp, the application opens and loads a.myapp file
then I doubleclick on b.myapp, the app start, discovers that another instance is running, "sends" its command line to the running instance and leave, so running instance can open the second file.
I can do on Linux, but I'd like a portable way....
Ciao
Max
|
|
|
Goto Forum:
Current Time: Tue Jul 15 09:54:37 CEST 2025
Total time taken to generate the page: 0.03318 seconds
|