[Lazarus] Connecting to a Postgres Database
Damien Gerard
milipili at shikami.org
Sun May 25 19:07:55 CEST 2008
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 client and
> referencing libpq.dll.
>
Under Windows you need those files when working with the postgres
library :
total 2.9M
-rw-r--r-- 1 milipili staff 24K 2008-02-27 16:36 comerr32.dll
-rw-r--r-- 1 milipili staff 512K 2008-02-27 16:36 krb5_32.dll
-rw-r--r-- 1 milipili staff 1.1M 2008-02-27 16:36 libeay32.dll
-rw-r--r-- 1 milipili staff 896K 2008-02-27 16:36 libiconv-2.dll
-rw-r--r-- 1 milipili staff 50K 2008-02-27 16:36 libintl-2.dll
-rw-r--r-- 1 milipili staff 183K 2008-02-27 16:36 libpq.dll
-rw-r--r-- 1 milipili staff 196K 2008-02-27 16:36 ssleay32.dll
However I have not use yet postgres with lazarus but I can make you an
archive if needed
--
Damien Gerard
milipili at shikami.org
"Intelligence is 10 million rules."
-- Douglas Lenat
More information about the Lazarus
mailing list