passing data from one d app to another

Frank Benoit keinfarbton at googlemail.com
Wed Jan 9 11:24:49 PST 2008


jake schrieb:
> I was wondering how I would go about allowing one application to send data to another. I would assume I would do this using a DLL. For example, I have a program that contains a function to read a text file and parse it, and I'd like an entirely different program to send what file to use to that program and have it run it. Also, it needs to be able to parse it multiple times, meaning if 5 other apps also send it something.
> 
> Any pointers?

this is called inter process comunication aka IPC
Here are the solutions that came to my mind:
- passing files
- unix file sockets
- network sockets
- shared memory
- Windows COM
- Corba (no d support afaik)
- DBus (dsource dbus-d)
- Tango clusters


More information about the Digitalmars-d-learn mailing list