Re: [Lazarus] Postgres Dlls not found

2008-05-29 Thread dgcoventry
On 5/29/08, Joost van der Sluis <[EMAIL PROTECTED]> wrote: > You didn't mix up 64-bit and 32-bit dlls accidentally? Well I installed pgadmin3 on the machine and it runs. I copied ALL 18 dlls from the C:\Program Files\pgadminIII\ Directory into System32\ and, when I start my app it generates an er

[Lazarus] on ARM Linux ,SoftFloat and EABI issues

2008-05-29 Thread Nataraj S Narayan
Hi Florian and other friends I am involved in porting existing C code to Arm Linux for AT91SAM9263 Ek board with 340x220 display. I need to write lots of console kinda apps. I am using a "qemu-system-arm" emulated Armel Debian machine on a Debian x86 Lenny distro for writing code. I installed

Re: [Lazarus] Postgres Dlls not found

2008-05-29 Thread Jalal
Dave, My comments were to assure you that libpq and PostgreSQL work well. There is simply a learning curve for something new. I faced a curve when I jumped into Lazarus (from Delphi) and PostgreSQL (from MSSQL), and I still use all of the above. I am not a developer of any of the products disc

[Lazarus] TEST SQLITE

2008-05-29 Thread Chris37
@ Joost van der Sluis Ref: http://bugs.freepascal.org/view.php?id=11350 Hi, Thank but wich version of Lazarus could i download for tested your correction ? Regard Chris ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepa

Re: [Lazarus] PostgreSQL database connection error

2008-05-29 Thread Joost van der Sluis
Op vrijdag 30-05-2008 om 04:43 uur [tijdzone +0800], schreef peng: > According to PostgreSQL users told me that in the P client set > transcoding, for example:SET CLIENT_ENCODING TO 'GBK' . > The GBK is better able to show that the Chinese encoding, but, which > position this SQL statement to add

Re: [Lazarus] Postgres Dlls not found

2008-05-29 Thread Joost van der Sluis
Op donderdag 29-05-2008 om 22:24 uur [tijdzone +0200], schreef Dave Coventry: > > Also, for the record, installing a Verifone application called "PC > Charge" > > can throw your PostgreSQL client because Verifone decided to name > one of > > their DLLs libpq.dll and put in in the windows system fol

Re: [Lazarus] PostgreSQL database connection error

2008-05-29 Thread peng
I will to try new snapshot version, however, whether there are other ways? According to PostgreSQL users told me that in the P client set transcoding, for example:SET CLIENT_ENCODING TO 'GBK' . The GBK is better able to show that the Chinese encoding, but, which position this SQL statement to add

Re: [Lazarus] Postgres Dlls not found

2008-05-29 Thread Dave Coventry
2008/5/29 Jalal <[EMAIL PROTECTED]>: > There is no hard-coded path in libpq, I haven't seen anything such > short-sightedness on the part of the PostgreSQL develpment team. They have > done excellent work, and both PostgreSQL and libpq are documented quite well > in html. Jalal, your input has defi

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

2008-05-29 Thread Mattias Gaertner
On Wed, 28 May 2008 22:57:42 +0200 Marco van de Voort <[EMAIL PROTECTED]> wrote: > On Sun, May 25, 2008 at 01:13:36PM +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

Re: [Lazarus] Inactive Dataset

2008-05-29 Thread Joost van der Sluis
Op donderdag 29-05-2008 om 10:21 uur [tijdzone +0200], schreef Dave Coventry: > > Next step, removed the Reference in the Datasource property of the > SQLQuery. It Works! Duh. That sounds logical. And I do aggree that this is very confusing. I already wanted to change that, but it's Delphi comp

[Lazarus] fpdoc enhancements

2008-05-29 Thread Michael Van Canneyt
Hi, At the request of some people on the lists, I added the following enhancement to fpdoc: If a method has no documentation node, the documentation will be searched in the ancestor tree. The first parent with a documented node will be used, and will be referred to from all overview pages. This

Re: [Lazarus] Postgres Dlls not found

2008-05-29 Thread Jalal
I have only found these DLLs needed for a PostgreSQL client connection: libpq.dll libeay32.dll libiconv-2.dll libintl-2.dll comerr32.dll krb5_32.dll ssleay32.dll The client program only accesses libpq.dll directly, but libpq appears to use the other DLLs listed above. There is no hard-coded pat

Re: [Lazarus] Postgres Dlls not found

2008-05-29 Thread Juan Cortés Cuesta
Hi! 18 dlls?? I had the same problem with PostgreSQL 8.2.5 in my developer PC. You only need to copy in System32 or other Directory comerr32.dll krb5_32.dll libeay32.dll libiconv-2.dll libintl-2.dll libpq.dll ssleay32.dll (I am not sure if dlls names are the same in your version) If the Dire

Re: [Lazarus] command line options

2008-05-29 Thread Mattias Gärtner
Zitat von Marco van de Voort <[EMAIL PROTECTED]>: > On Thu, May 29, 2008 at 09:17:23AM -0300, Joao Morais wrote: > > > > You can also use ParamCount and ParamStr: > > > > begin > >if ParamCount = 0 then > > // error - no param > >if ParamStr(1) <> '-test' then > > // error - inva

Re: [Lazarus] Postgres Dlls not found

2008-05-29 Thread Michael Van Canneyt
On Thu, 29 May 2008, Dave Coventry wrote: > Maybe I'm missing a DLL. Here are the DLLs that came with pgadmin3. > > comerr32.dll > gssapi32.dll > iconv.dll > k5sprt32.dll > krb5_32.dll > libeay32.dll > libiconv2.dll > libintl3.dll > libpq.dll If I'm correct, the message mentioned libpg.dll ?

Re: [Lazarus] Postgres Dlls not found

2008-05-29 Thread Dave Coventry
Maybe I'm missing a DLL. Here are the DLLs that came with pgadmin3. comerr32.dll gssapi32.dll iconv.dll k5sprt32.dll krb5_32.dll libeay32.dll libiconv2.dll libintl3.dll libpq.dll libxml2.dll libxslt.dll msvcm80.dll msvcp80.dll msvcr71.dll msvcr80.dll pgaevent.dll ssleay32.dll zlib1.dll ___

Re: [Lazarus] command line options

2008-05-29 Thread Marco van de Voort
On Thu, May 29, 2008 at 09:17:23AM -0300, Joao Morais wrote: > > You can also use ParamCount and ParamStr: > > begin >if ParamCount = 0 then > // error - no param >if ParamStr(1) <> '-test' then > // error - invalid param Or unit getopts directly. TCustomApplication apparantly

Re: [Lazarus] Postgres Dlls not found

2008-05-29 Thread Michael Van Canneyt
On Thu, 29 May 2008, Dave Coventry wrote: > On Thu, May 29, 2008 at 3:47 PM, Marc Weustink <[EMAIL PROTECTED]> wrote: > > Better not copy he dlls, just add the postgres/bin dir to your path > > (mycomputer-properties-advanced-environmentvars). > > (sometimes you need to restart the explorer to l

Re: [Lazarus] How big can DB transactions go?

2008-05-29 Thread Michael Van Canneyt
On Thu, 29 May 2008, Graeme Geldenhuys wrote: > Hi, > > I'm working on a SQL RDBMS tool, testing Index performance. My overall > goal is to insert 500,000 records in a master table and 5mil in a > details table. > > Using SqlDB, can I do this without transactions, as I don't care about > data

Re: [Lazarus] I ported some components, not sure if I can publish them :-(

2008-05-29 Thread Luca Olivetti
Marco van de Voort escribió: > On Sat, May 17, 2008 at 11:22:18AM +0200, Mattias Gaertner wrote: In Germany, "public domain" does not exist. One *can not* give up the copyright. But one can allow unrestricted use. >>> So what would you think reading that license? >> You must ask the autho

[Lazarus] How big can DB transactions go?

2008-05-29 Thread Graeme Geldenhuys
Hi, I'm working on a SQL RDBMS tool, testing Index performance. My overall goal is to insert 500,000 records in a master table and 5mil in a details table. Using SqlDB, can I do this without transactions, as I don't care about data integrity. If I could, would that speed things up? Currently I'm

Re: [Lazarus] Postgres Dlls not found

2008-05-29 Thread Dave Coventry
On Thu, May 29, 2008 at 3:47 PM, Marc Weustink <[EMAIL PROTECTED]> wrote: > Better not copy he dlls, just add the postgres/bin dir to your path > (mycomputer-properties-advanced-environmentvars). > (sometimes you need to restart the explorer to load your new envirenment) Yes, I tried that, but it d

Re: [Lazarus] Postgres Dlls not found

2008-05-29 Thread Marc Weustink
Dave Coventry wrote: > I'm flumoxed! > > My app fails with the error "Cannot load Postgres Client. Is it > installed? (libpg.dll)". > > I've been developing my app on my laptop and initiallly was unable to > get PQConnection working as it complained that Postgres was not > installed. > > I event

[Lazarus] Postgres Dlls not found

2008-05-29 Thread Dave Coventry
I'm flumoxed! My app fails with the error "Cannot load Postgres Client. Is it installed? (libpg.dll)". I've been developing my app on my laptop and initiallly was unable to get PQConnection working as it complained that Postgres was not installed. I eventually loaded pgadmin3 onto my laptop, but

Re: [Lazarus] External: SIGSEGV

2008-05-29 Thread cc_
> Have you tried the fpc 2.3.1? Have not installed it yet. I had the impression that it was a bit risky to use it. - Leslie - ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] command line options

2008-05-29 Thread Joao Morais
Mattias Gaertner wrote: > On Wed, 28 May 2008 16:55:39 -0700 > el stamatakos <[EMAIL PROTECTED]> wrote: > >> Hi, >> I would like my application to understand command line options. For >> example if I type in gedit my app creates some error message if I >> enter gedit -test it opens the app. Any i

Re: [Lazarus] IDE editor works wrongly under windows (with Unicode).

2008-05-29 Thread Andrey Gusev
* Vincent Snijders <[EMAIL PROTECTED]> [Thu, 29 May 2008 10:21:57 +0200]: > Andrey Gusev schreef: > > It was "0011231: FilelistBox shows Russian letters in file names > > wrongly" thread previously. > > > > * Vincent Snijders <[EMAIL PROTECTED]> [Wed, 28 May 2008 22:43:32 > > +0200]: > >> > But,

[Lazarus] Know if a form is active

2008-05-29 Thread Damien Gerard
I would like to bring to front a form (and activate it -via the .show() method) only if it is not already the active window. I thought .Showing would be good for me but it is not the case. How can I do that ? Thanks -- Damien Gerard [EMAIL PROTECTED] "Intelligence is 10 million rules."

Re: [Lazarus] IDE editor works wrongly under windows (with Unicode).

2008-05-29 Thread Vincent Snijders
Andrey Gusev schreef: > It was "0011231: FilelistBox shows Russian letters in file names > wrongly" thread previously. > > * Vincent Snijders <[EMAIL PROTECTED]> [Wed, 28 May 2008 22:43:32 > +0200]: >> > But, without DisableWindowsUnicodeSupport, the IDE editor works >> wrongly, >> > that is the

Re: [Lazarus] Inactive Dataset

2008-05-29 Thread Dave Coventry
Okay, managed to find a previous copy of the Lazarus installer with fpc 2.2.1, Program working again,tried Jalal's sugestion using SQLQuery1.Active:=true, still l have the same error about inactive Dataset.:( Next step, removed the Reference in the Datasource property of the SQLQuery. It Works! __

[Lazarus] wiki help with images

2008-05-29 Thread Graeme Geldenhuys
Hi, How do I reference a image uploaded in one language (english), but in a another language (french, german) page? The same problem applies for the Lazarus pages on Wikipedia. I uploaded a new screenshot of Lazarus 0.9.25 on the english page, but don't know how to update the other Lazarus langua

Re: [Lazarus] IDE editor works wrongly under windows (with Unicode).

2008-05-29 Thread Andrey Gusev
* Andrey Gusev <[EMAIL PROTECTED]> [Thu, 29 May 2008 11:44:40 +0400]: > * Vincent Snijders <[EMAIL PROTECTED]> [Wed, 28 May 2008 22:43:32 > +0200]: > > > But, without DisableWindowsUnicodeSupport, the IDE editor works > > wrongly, > > > that is the other problem... > > > > By "IDE editor works wron

Re: [Lazarus] IDE editor works wrongly under windows (with Unicode).

2008-05-29 Thread Andrey Gusev
It was "0011231: FilelistBox shows Russian letters in file names wrongly" thread previously. * Vincent Snijders <[EMAIL PROTECTED]> [Wed, 28 May 2008 22:43:32 +0200]: > But, without DisableWindowsUnicodeSupport, the IDE editor works wrongly, > that is the other problem... By "IDE editor works

Re: [Lazarus] Inactive Dataset

2008-05-29 Thread Vincent Snijders
Dave Coventry schreef: > Ah. > > I was uable to compile the fpc db libs but I managed to get access to > a broadband connection and downloaded the daily snapshot. I cannot help you, but what daily snapshot, there are several flavors: using fpc 2.2.0, 2.2.1 or 2.3.1? Vincent _

Re: [Lazarus] Inactive Dataset

2008-05-29 Thread Dave Coventry
Ah. I was uable to compile the fpc db libs but I managed to get access to a broadband connection and downloaded the daily snapshot. Now I can't load my app into Lazarus: 2008/5/28 Jalal <[EMAIL PROTECTED]>: > 123555 > > Dave Coventry, > >> As does explicitly using "SQLQuery.Close" prior to