Alex du Plessis schreef:
Hi all
Earlier I reported a problem finding libpq.dll. I then suspected a
problem on my disc and did a complete Windows XP re-install, followed
by a postgres 8.3 install and then a Lazarus 0.9.25 re-install.
I started by changing fpc.cfg to add the library path of the libpq.dll
file to fpc.cfg and that had no effect. The TPQConnection still could
not find the file libpq.dll when trying to set the connection to active.
Restarting Lazarus also did not improve this situation.(Maybe it needed
to reread fpc.cfg?).
I finally resorted to copying the libpq file into /windows/sytem32
and tried to connect again. This time round Lazarus asked for
ssleay32.dll as well as vsinit.dll. After duly downloading and copying
these files into system32.
As Marc said a couple of days ago, copying to system32 is not the 'correct' way to
do this. Add The directory that contains the libpq.dll to the PATH environment
variable instead.
Vincent
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives