Short answer:
Cromis IPC is a named pipe. The client is responsible for sending a set of commands, which should be defined as the application protocol. The corresponding server listens to clients and acts as a processor for processing these protocol requests. In your case, you want to have bidirectional communication, so you must create a client and server for both processes with two protocols.
Long answer:
You can use Cromis IPC to do this work. As I described above, you need to define two protocols for specific applications and write protocol clients and protocol processors yourself. This is a wonderful job.
I recently ran into Apache Thrift . Apache Thrift is committed to providing a highly efficient IPC infrastructure. One of the fantastic features of Apache Thrift is that it can automatically generate IPC code itself. And he supports Delphi.
You just need to define the protocols of specific applications in the specification file. Thrift will create the appropriate client and processor code for you. It also supports not only Named Pipe, you can choose sockets or other transport implementations. It is really worth a try.
source share