ich habe hier ein größeres Projekt was einige externe Packages nutzt, sodaß ich mich bisher geziert habe es auf FPC 3.2.0 umzustellen. Nun habe ich es aber in Angriff genommen und kann es endlich kompilieren und starten.
Im Eifer des Gefechts wollte ich eine aktuelle Version von Zeos nutzen. Das Programm startet und läuft einwandfrei mit Zeos 7.2, um eine PostgreSQL 10 Datenbank anzusprechen. So sieht vereinfacht der Code aus:
Code: Alles auswählen
Connection.Database := ###;
Connection.LibraryLocation := 'C:\Program Files\PostgreSQL\10\bin\libpq.dll';
Connection.Password := ###;
Connection.Properties.Text := 'Undefined_Varchar_AsString_Length=255';
Connection.Protocol := 'postgresql-9';
Connection.User := ###;
Connection.Connect;
Weiß jemand, was sich da geändert hat oder was ich ändern/beachten muss?None of the dynamic libraries can be found or is not loadable: libpq.dll! Use TZConnection.LibraryLocation if the location is invalid.
PS: Alles 64bit (PostgreSQL, FPC 3.2.0, Lazarus Trunk, Windows 7).