Re: [fpc-pascal] Data exchange between programs

2006-09-06 Thread Michael Van Canneyt
On Wed, 6 Sep 2006, Felipe Monteiro de Carvalho wrote: On 9/6/06, Carsten Bager <[EMAIL PROTECTED]> wrote: I have 2 FPC programs running on a Linux machine, is there an easy way to exchange a few data between these programs A very good alternative is dbus: http://www.freedesktop.org/wiki/S

Re: [fpc-pascal] Data exchange between programs

2006-09-06 Thread Felipe Monteiro de Carvalho
On 9/6/06, Carsten Bager <[EMAIL PROTECTED]> wrote: I have 2 FPC programs running on a Linux machine, is there an easy way to exchange a few data between these programs A very good alternative is dbus: http://www.freedesktop.org/wiki/Software/dbus It´s the standard GNU project for data exchang

Re: [fpc-pascal] Data exchange between programs

2006-09-06 Thread Leonardo M. Ram
Or encapsulate your variables into an object and pass it to the DLL. Check out my blog at http://leonardorame.blogspot.com to see how pass objects to Dlls. --- Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > On Wed, 6 Sep 2006, Carsten Bager wrote: > > > I have 2 FPC programs running o

Re: [fpc-pascal] Data exchange between programs

2006-09-06 Thread Carsten Bager
> I think you'd better use shared memory or pipes or so. > If the communication is one-way, have a look at the simpleipc units. > > Michael. I have used the ipc functions, and they did the trick Thanks Carsten ___ fpc-pascal maillist - fpc-pascal@l

Re: [fpc-pascal] Data exchange between programs

2006-09-06 Thread Michael Van Canneyt
On Wed, 6 Sep 2006, Carsten Bager wrote: I have 2 FPC programs running on a Linux machine, is there an easy way to exchange a few data between these programs (I do not want to use disk operations). I was thinking of using environment variables, but I cannot find a way to change environment var

Re: [fpc-pascal] Data exchange between programs

2006-09-06 Thread Dominique Leducq
Matt Emson a écrit : I have 2 FPC programs running on a Linux machine, is there an easy way to exchange a few data between these programs (I do not want to use disk operations). I was thinking of using environment variables, but I cannot find a way to change environment variables from a program.

Re: [fpc-pascal] Data exchange between programs

2006-09-05 Thread Matt Emson
I have 2 FPC programs running on a Linux machine, is there an easy way to exchange a few data between these programs (I do not want to use disk operations). I was thinking of using environment variables, but I cannot find a way to change environment variables from a program. MMap? Unix domain so

[fpc-pascal] Data exchange between programs

2006-09-05 Thread Carsten Bager
I have 2 FPC programs running on a Linux machine, is there an easy way to exchange a few data between these programs (I do not want to use disk operations). I was thinking of using environment variables, but I cannot find a way to change environment variables from a program. Does anybody have a