Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do you send messages from one APP to another?

Status
Not open for further replies.

Maulkin

Programmer
Apr 8, 2002
19
0
0
AU
I need help sending messages e.g. a string from one application to another application.
 
Hi,
why not use the SHELL?

have prog1 write the string to STDOUT and have the second program read from STDIN then use a PIPE?

prog1 | prog2

To code this internally you could make the PIPE yourself.
 
it is called interprocess communication. You did not indicate whether these apps are on the same machine or not. There are pipes, messages, sockets, shared memory: many different IPC facilities. It is very much OS dependent.
On Unix I would use messages or tcp sockets.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top