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 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@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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal