U++ framework
Do not panic. Ask here before giving up.

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 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1313
Registered: September 2007
Ultimate Contributor
Thank you, Koldo Smile

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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: libpng1.4
Next Topic: [SOLVED] Xmlize LineEdit with line breaks inside
Goto Forum:
  


Current Time: Sun Sep 13 09:09:17 GMT+2 2026

Total time taken to generate the page: 0.00868 seconds