[Lazarus] Lazarus - Postgresql connection

Henry Vermaak henry.vermaak at gmail.com
Thu May 21 16:00:36 CEST 2009


2009/5/21 Rádi László <rlaci3 at freemail.hu>:
> Hi! I'd like to make a program for a PDA that connects to a Postgresql database. Lazarus compiles it, that's okay. Then I use Windows Mobile Emulator to test the program.
> The problem is that it says 'Can not load Postgresql client. Is it installed? (libpq.dll)'
> I don't know what is the problem and how to solve it. I tried to copy the dll where the exe file is, but it didn't work. I have no idea what to do.
> Thanks in advance.

you'll have to get a wince port of libpq.  there is one here
http://libpqwce.projects.postgresql.org/ but there hasn't been a
release in ages.  you can always build one yourself with cegcc.

henry




More information about the Lazarus mailing list