wky086
July 12th, 2001, 09:56 PM
How two programs communicate with each other in the same machine?
Hi:
Here I have a question which maybe very simple to programmers.
There has programs have to tell each other their's status. Where both
programs have been developed already and run on the same machine. the status will change
every second .How many ways can I implement it?
1. Register the parameters in the registry , read and update the registry file when there
have status change on parameter.
2. Use socket to send the parameter to other program about it's status.
3. or have other method that program can communicate with each other???
If anybody have ideas of how to implement and their advantages and disvantages can share with me. It will
be very helpful.
Millions of thanks in advance
wky086
Hi:
Here I have a question which maybe very simple to programmers.
There has programs have to tell each other their's status. Where both
programs have been developed already and run on the same machine. the status will change
every second .How many ways can I implement it?
1. Register the parameters in the registry , read and update the registry file when there
have status change on parameter.
2. Use socket to send the parameter to other program about it's status.
3. or have other method that program can communicate with each other???
If anybody have ideas of how to implement and their advantages and disvantages can share with me. It will
be very helpful.
Millions of thanks in advance
wky086