[Lazarus] Connecting to a Postgres Database

zeljko zeljko at holobit.net
Sun May 25 17:28:13 CEST 2008


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 client and
> referencing libpq.dll.
>
> Does anyone know what's happening?
>
> Do I need a client to start the connection with the server?

find libpq.dll/libpq8X.dll somewhere and copy it to C:\Windows\System32
(probably you can find libpq.dll in your windows postgres installation)

> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus



More information about the Lazarus mailing list