Re: [fpc-pascal] Should Insert+Edit Fields+Insert again on a TDataSet work?

2007-11-24 Thread Marc Santhoff
Am Samstag, den 24.11.2007, 09:44 +0100 schrieb Felipe Monteiro de Carvalho: > Hi, > > Please take a look at the following discussion on this bug report: > > http://www.freepascal.org/mantis/view.php?id=10165 > > The question is very simple. Suppose a trivial data-aware application > with a DBNa

[fpc-pascal] How to send stdout pipe to a process ?

2007-11-24 Thread TOUZEAU DAVID
Dear I would like to send a TStringList.text to an external process (kind of stdout) i have an external process that require to receive datas from stdin like /home/process1 I would like my program to send datas inserted into a Tstringlist to this "process1" I think i should use "Output" bu

Re: [fpc-pascal] HOW TO, PROBLEM read stdin (linux) ??

2007-11-24 Thread TOUZEAU DAVID
Great many thanks Wanderlan Santos dos Anjos a écrit : program yourprogram; {$mode objfpc}{$H+} uses Classes, SysUtils; var st: text; s: string; begin assign(st,''); reset(st); while not eof(st) do begin // --- iterate while not en of file readln(st,s); //<<< read only a line

Re: [fpc-pascal] Re: Should Insert+Edit Fields+Insert again on a TDataSet work?

2007-11-24 Thread Graeme Geldenhuys
On 24/11/2007, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > Ok, so I managed to get a DBE application working and it has the same > behavior as the ADO one. > >From my Delphi days, what I remember is that the data gets saved (posted) as soon as you move to another record. Using your e

[fpc-pascal] HOW TO, PROBLEM read stdin (linux) ??

2007-11-24 Thread TOUZEAU DAVID
Dear What is the best way to read into a memory datas from this command. "/bin/myprogram end. -- David Touzeau -- Linux Ubuntu 7.04 feisty FreePascal-Lazarus,perl,delphi,php artica for postfix management console (http://www.artica.fr) icq:160018849 __

[fpc-pascal] IPC/SHMGET and Multiple Variables

2007-11-24 Thread T.Guilleminot
Hi I want to use IPC Shared Memory mecanism to enable communication between Linux processes. I followed doc example (http://community.freepascal.org:1/docs-html/rtl/ipc/shmctl) which works fine. However I'm unable to find how the handle multiple variables (or may be an array). Should I h

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-11-24 Thread Den Jean
On Thursday 22 November 2007 04:50:59 pm [EMAIL PROTECTED] wrote: > Qt 4.3.1 is installed from ports and my Lazarus snapshot verion 0.9.25 of > 22-nov-2007... probably because the linker does not find libqt4intf.so. I have so bsd experience. Are you interested in creating a libqt4intf.so for bsd

[fpc-pascal] binstr for single type

2007-11-24 Thread Krekan
Hello, I need a routine binstr(var val:single;,) since no such in the rtl exists I decided to write one. Also I wanted to make reverse routine bin2float where the input would be string containing 32 ones and zeroes. But I didn't want to bother with extracting mantissa, exponent, shifting add

Re: [fpc-pascal] Re: Should Insert+Edit Fields+Insert again on a TDataSet work?

2007-11-24 Thread John & Marg Sunderland
Felipe Monteiro de Carvalho wrote: Ok, so I managed to get a DBE application working and it has the same behavior as the ADO one. I believe it should be posted (kept). In general, at least in Delphi - I think throughout the Borland world - if you navigate off a record you have inserted or

[fpc-pascal] Re: Should Insert+Edit Fields+Insert again on a TDataSet work?

2007-11-24 Thread Felipe Monteiro de Carvalho
Ok, so I managed to get a DBE application working and it has the same behavior as the ADO one. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Should Insert+Edit Fields+Insert again on a TDataSet work?

2007-11-24 Thread Felipe Monteiro de Carvalho
Hi, Please take a look at the following discussion on this bug report: http://www.freepascal.org/mantis/view.php?id=10165 The question is very simple. Suppose a trivial data-aware application with a DBNavigator and a number of DBEdits. The following steps: 1 - Click insert on the DBNavigator 2