Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3437
Registered: August 2008
Senior Veteran
mdelfede wrote on Mon, 22 March 2010 23:25

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


Well, at least you can know which is the application you have to communicate with Smile


Best regards
IƱaki
 
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: Tue Jul 15 09:41:51 CEST 2025

Total time taken to generate the page: 0.03553 seconds