Communication between two applications

Hello all,
I have two applications. One is a File Explorer and the other is a File Search application. Both work great independently. I would like to be able to launch the Search app from within the File Explorer. When I launch the search I need to be able to pass in a folder to search in. Then after the search is complete, I would like to pass back to the File Explorer the sub-folder and file that the user selects.

Can someone please give me a sample of how to do this? What code is needed in the File Explorer? What code is needed in the Search application?

Thanks.
If you are doing this in UNIX/Linux, maybe a fork/exec with a pipe thrown in?

http://www.cs.uleth.ca/~holzmann/C/system/pipeforkexec.html
Last edited on
What operating system and desktop environment is this for?
Topic archived. No new replies allowed.