Michael Van Canneyt
michael at freepascal.org
Fri Mar 15 17:47:21 CET 2019
On Fri, 15 Mar 2019, Eurico JB Silva via lazarus wrote:
> After retiring, I met Lazarus and I really enjoyed this IDE, for several
> reasons. However, I realized that objects that access Database of different
> types (PostgreSQL, MySQL, SQLite, etc.), require an effort to make it work.
> So, like the vast majority, I downloaded *ZeosLib* and as a step of magic
> everything worked right away.
> So I decided to analyze the sources of *ZeosLib* to try to understand why,
> and it seems that the objects included in Lazarus require the libraries
> with their most precise configuration on the machine where the application
> is installed. *ZeosLib* allows the same libraries to be present in the same
> application installation folder. So I'd like to suggest that those objects
> that are already part of Lazarus may have the same behavior, so you do not
> need to download any other object to access the database.
In lazarus you have complete control over where you want the libraries to be.
In code, you can also specify any path you want; It has been so since day 1.
Moreover, if you use the library loader component, you can specify the location
of the libraries exactly with a few clicks.
More information about the lazarus