[fpc-pascal] TCustomApplication.CheckOptions

2006-09-06 Thread Mattias Gaertner
Either I spotted a bug, or I don't understand the algorithm. TCustomApplication.CheckOptions should check for a command line like this: program -B file Where -B is a short option without parameter. CheckOptions always treats the parameter after a short option as parameter, no matter if B comes w

[fpc-pascal] patch - types.pp (InflateRect)

2006-09-06 Thread Graeme Geldenhuys
Hi, I sent a patch for this before on the 25 July, but it hasn't been applied yet. I think the reason might have been due to that patch file containing a new Size() method as well which caused some problems. Anyway, this patch only contains the InflateRect() function. Regards, - Graeme - --

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.