[fpc-pascal] Data exchange between programs
Leonardo M. Ram�
martinrame at yahoo.com
Wed Sep 6 13:56:42 CEST 2006
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 <michael at freepascal.org> wrote:
>
>
> 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 variables from a
> > program.
> > Does anybody have a hint?
>
> 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.
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
Leonardo M. Ramé
http://leonardorame.blogspot.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the fpc-pascal
mailing list