hope it's not a FAQ, but I don't found a answer yet.
I already asked in German Lazarusforum: https://www.lazarusforum.de/viewtopic.php?f=17&t=13323
I've tried to update a project with a newer Zeos.
In a minimal example I try following:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
begin
FZConnection := TZConnection.Create(Self);
FZConnection.Database := ###;
FZConnection.LibraryLocation := 'C:\Program Files\PostgreSQL\10\bin\libpq.dll';
FZConnection.Password := ###';
FZConnection.Properties.Text := 'Undefined_Varchar_AsString_Length=255';
FZConnection.Protocol := 'postgresql-9';
FZConnection.User := ###;
FZConnection.Connect;
end;
What I am missing? Thank youNone of the dynamic libraries can be found or is not loadable: libpq.dll! Use TZConnection.LibraryLocation if the location is invalid.