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 #25989 is a reply to message #25978] |
Tue, 23 March 2010 21:58   |
 |
koldo
Messages: 3437 Registered: August 2008
|
Senior Veteran |
|
|
mdelfede wrote on Mon, 22 March 2010 23:25 | 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
|
Well, at least you can know which is the application you have to communicate with
Best regards
IƱaki
|
|
|
Goto Forum:
Current Time: Tue Jul 15 09:41:51 CEST 2025
Total time taken to generate the page: 0.03553 seconds
|