[fpc-pascal] Data exchange between programs

Michael Van Canneyt michael at freepascal.org
Wed Sep 6 15:26:38 CEST 2006



On Wed, 6 Sep 2006, Felipe Monteiro de Carvalho wrote:

> On 9/6/06, Carsten Bager <carsten at beas.dk> 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 exchange between programs. It´s
> also cross-platform.
>
> I translated dbus headers to Pascal, and I will very soon (perhaps
> today?) make a release of them.
>
> I will also translate this tutorial to pascal:
>
> http://dbus.freedesktop.org/doc/dbus/libdbus-tutorial.html

Using dbus makes your code dependent on the C library, and 
this is not always desirable. For simple things, it's better
not to have any external dependencies.

Michael.


More information about the fpc-pascal mailing list