Re: [Lazarus] Cross-compile on Linux from 32bits to 64bits

2008-05-25 Thread Mattias Gaertner
On Sat, 24 May 2008 17:24:55 +0200 TOUZEAU DAVID [EMAIL PROTECTED] wrote: Dear I'm using a 32 bits Linux system to developp and i want my program to be 64 Bits compatible. What is the best method to allow my program to be compatible on 32 And 64 bits ? See FPC mailing list: check

Re: [Lazarus] Cross-compile on Linux from 32bits to 64bits

2008-05-25 Thread Marco van de Voort
On Sun, May 25, 2008 at 10:24:29AM +0200, Mattias Gaertner wrote: I'm using a 32 bits Linux system to developp and i want my program to be 64 Bits compatible. What is the best method to allow my program to be compatible on 32 And 64 bits ? See FPC mailing list: check pointer/integer

Re: [Lazarus] Cross-compile on Linux from 32bits to 64bits

2008-05-25 Thread Mattias Gaertner
On Sun, 25 May 2008 11:19:16 +0200 Marco van de Voort [EMAIL PROTECTED] wrote: On Sun, May 25, 2008 at 10:24:29AM +0200, Mattias Gaertner wrote: I'm using a 32 bits Linux system to developp and i want my program to be 64 Bits compatible. What is the best method to allow my program to be

Re: [Lazarus] Visual Form Inheritance

2008-05-25 Thread Vincent Snijders
Mattias Gaertner schreef: On Sat, 24 May 2008 12:00:56 -0300 Joao Morais [EMAIL PROTECTED] wrote: Here I cannot create something like this: (1) TAbstract = class(TForm) Panel (2) TNotSoAbstract = class(TAbstract) SomeButtonInsideTheInheritedPanel Form (2) works nice. (3)

Re: [Lazarus] Trouble with TIBConnection and Numeric (N,6) fields.

2008-05-25 Thread Joost van der Sluis
Op vrijdag 23-05-2008 om 11:17 uur [tijdzone +0200], schreef Gerard N/A: Hi all, I've got a problem acessing a Firebird DB (2.0) with TIBConnection + TSQLQuery. I get 'Unkonwn field type FieldName' when opening querys wich do selects to tables having NUMERIC fields with 6 decimals. Any

Re: [Lazarus] [LAZARUS] Tsqlquery

2008-05-25 Thread Joost van der Sluis
Op vrijdag 23-05-2008 om 23:50 uur [tijdzone +0200], schreef Chris37: Hi, I would like to know read a rows number after an update or delete with TSqlquery and Oracle Connection They are not a property rowsaffected ! Are you an idea please ? There is a property rowsaffected, but only for

Re: [Lazarus] Visual Form Inheritance

2008-05-25 Thread Mattias Gaertner
On Sun, 25 May 2008 14:41:00 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner schreef: On Sat, 24 May 2008 12:00:56 -0300 Joao Morais [EMAIL PROTECTED] wrote: Here I cannot create something like this: (1) TAbstract = class(TForm) Panel (2) TNotSoAbstract =

[Lazarus] Connecting to a Postgres Database

2008-05-25 Thread Dave Coventry
Hi, I'm using a windows machine (XP) running my app written with Lazarus and trying to connect to a Postgres Server. Whenever I turn the Connected field on my PQConnection component, I get an error saying that it cannot find PostgreSQL client and referencing libpq.dll. Does anyone know what's

Re: [Lazarus] Connecting to a Postgres Database

2008-05-25 Thread zeljko
On Sunday 25 May 2008 17:08, Dave Coventry wrote: Hi, I'm using a windows machine (XP) running my app written with Lazarus and trying to connect to a Postgres Server. Whenever I turn the Connected field on my PQConnection component, I get an error saying that it cannot find PostgreSQL

Re: [Lazarus] Connecting to a Postgres Database

2008-05-25 Thread Dave Coventry
Hi. I don't HAVE a windows postgres installation. Do you have copies of the files? The best I could do was to was a libpq.dll from v7.0. Why are they needed, anyway? I don't see any mention of their requirement in the wiki(s). I'm not actually convinced that this is the problem; how do I test

Re: [Lazarus] Forms Color on Linux

2008-05-25 Thread Graeme Geldenhuys
2008/5/24 Luiz Americo Pereira Camara [EMAIL PROTECTED]: No LCL does not uses cairo at all. All Gtk2 widgets is buffered by default. Qt is also double buffered AFAIK. So if all toolkits you mentioned are double buffered by default (fpGUI and MSEgui included), why is LCL not? Yet LCL (GTK)

Re: [Lazarus] Forms Color on Linux

2008-05-25 Thread Felipe Monteiro de Carvalho
On Sat, May 24, 2008 at 9:18 AM, Michael Van Canneyt [EMAIL PROTECTED] wrote: I mean, drawing text should be a cheap operation, IMHO ? Maybe, but the library we are using to draw text is terribly slow, regardless if it should or shouldn't be slow. -- Felipe Monteiro de Carvalho

Re: [Lazarus] Forms Color on Linux

2008-05-25 Thread Graeme Geldenhuys
2008/5/25 Felipe Monteiro de Carvalho [EMAIL PROTECTED]: I don't know why double buffering was added in the discussion, it has nothing to do with the slowness of SynEdit under gtk2. Double buffering is simply a necessity to avoid flickering, and SynEdit is double buffered, regardless of the

Re: [Lazarus] Connecting to a Postgres Database

2008-05-25 Thread Damien Gerard
Le May 25, 2008 à 5:08 PM, Dave Coventry a écrit : Hi, I'm using a windows machine (XP) running my app written with Lazarus and trying to connect to a Postgres Server. Whenever I turn the Connected field on my PQConnection component, I get an error saying that it cannot find PostgreSQL

Re: [Lazarus] Forms Color on Linux

2008-05-25 Thread Felipe Monteiro de Carvalho
On Sun, May 25, 2008 at 2:09 PM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: I'm not referring to SynEdit. I'm simply asking why all components in the LCL are not double buffered by default? Yet the underlying toolkits are by default. What does LCL developers know that the rest of us toolkit

Re: [Lazarus] [LAZARUS] Tsqlquery

2008-05-25 Thread Chris37
Joost van der Sluis a écrit : Op vrijdag 23-05-2008 om 23:50 uur [tijdzone +0200], schreef Chris37: Hi, I would like to know read a rows number after an update or delete with TSqlquery and Oracle Connection They are not a property rowsaffected ! Are you an idea please ? There

Re: [Lazarus] Connecting to a Postgres Database

2008-05-25 Thread Dave Coventry
On Sun, May 25, 2008 at 7:07 PM, Damien Gerard [EMAIL PROTECTED] wrote: However I have not use yet postgres with lazarus but I can make you an archive if needed Hi Damien, That would be great. I have googled quite a bit, but only come up with the 7.0 version of libpq.dll What would be the

Re: [Lazarus] Connecting to a Postgres Database

2008-05-25 Thread Dave Coventry
On Sun, May 25, 2008 at 6:49 PM, zeljko [EMAIL PROTECTED] wrote: postgres transactions ? I don't understand. If U can connect to XXX server usualy at port 5432 then it works, or it returns exception like : Is the server X running on port 5432 ? etc ... I see. So, if I put

Re: [Lazarus] Connecting to a Postgres Database

2008-05-25 Thread Joost van der Sluis
Op zondag 25-05-2008 om 17:54 uur [tijdzone +0200], schreef Dave Coventry: I don't HAVE a windows postgres installation. Then you can't use postgres on that machine. Why are they needed, anyway? I don't see any mention of their requirement in the wiki(s). I need to read this word-document.

Re: [Lazarus] Connecting to a Postgres Database

2008-05-25 Thread Damien Gerard
Le May 25, 2008 à 9:19 PM, Dave Coventry a écrit : On Sun, May 25, 2008 at 6:49 PM, zeljko [EMAIL PROTECTED] wrote: postgres transactions ? I don't understand. If U can connect to XXX server usualy at port 5432 then it works, or it returns exception like : Is the server X running on

Re: [Lazarus] Connecting to a Postgres Database

2008-05-25 Thread Damien Gerard
Le May 25, 2008 à 9:14 PM, Dave Coventry a écrit : On Sun, May 25, 2008 at 7:07 PM, Damien Gerard [EMAIL PROTECTED] wrote: However I have not use yet postgres with lazarus but I can make you an archive if needed Hi Damien, That would be great. I have googled quite a bit, but only

Re: [Lazarus] Connecting to a Postgres Database

2008-05-25 Thread Damien Gerard
Le May 25, 2008 à 10:34 PM, Dave Coventry a écrit : Thanks Damien. I'm downloading them now. 9 Meg on my dialup. Moved to http://lazarus.shikami.org/downloads/postgres-standalone/8.2/ More appropriated and ftn.shikami.org is not a place for temporary files -- Damien Gerard [EMAIL

Re: [Lazarus] Connecting to a Postgres Database

2008-05-25 Thread Damien Gerard
Le May 25, 2008 à 11:48 PM, Damien Gerard a écrit : Le May 25, 2008 à 10:34 PM, Dave Coventry a écrit : Thanks Damien. I'm downloading them now. 9 Meg on my dialup. Moved to http://lazarus.shikami.org/downloads/postgres-standalone/8.2/ More appropriated and ftn.shikami.org is not a

Re: [Lazarus] ARM-WinCE - db engine, printing

2008-05-25 Thread Zaher Dirkey
I used it in minilib in commercial projects, so there is only some test projects in this lib and i have no time to make documentation this days, but the code is readable, and any question is welcome. for support i have topic in my site http://www.parmaja.com/forums/viewtopic.php?id=121 There is

Re: [Lazarus] Connecting to a Postgres Database

2008-05-25 Thread Dave Coventry
Thanks. Certainly pgadmin has helped me to clear up the connection uncertainties. I'll test it with my database later on today. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus