[fpc-pascal] Searching for database libraries

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Fri Dec 7 22:02:01 CET 2012


When using something like InitialisePostgres3(), if the approximate 
location of the database library (.so or .dll) is known, what's the most 
effective way of finding the exact file? Is there a single routine that 
does a recursive search?

The reason that I ask is that it appears that the most efficient way of 
getting libpq.dll for Windows is to install the ODBC drivers, and they 
go into a directory typically named like C:\Program 
Files\psql\ODBC\xxxx\bin where xxxx is a version number.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list