passing data from one d app to another

BCS BCS at pathlink.com
Wed Jan 9 10:41:58 PST 2008


jake wrote:
> 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?

My first though was a pipe of some kind (network socket, unix domain 
socket, etc) my next though was a pipeline (use the pipe system call 
followed by fork and exec) my next though was memory-mapping/shared-memory.

My last though is I'm glad it's your problem and not mine. <g>


More information about the Digitalmars-d-learn mailing list