I just compiled a new version of an executable file developed with DELPHI (XE6) running against Postgres 11.8 database. In order to distribute it, I believe I have to distribute the same version of libpq.dll that the program was compiled with, and simple as it seems, that is my problem, that among the many versions of libpq.dll that I have in my computer I don't know what is the actual one that Delphi is running locally and compiling with.
I tried to distribute the new version of the .exe file only (trying to run against the old version of libpq.dll) over the previous distribution, and it did not work (Throws an error when trying to open the first DB table)
The story is that I am new working with this program (And with Delphi also); There is a previous version of the program distributed on many PCs and working fine, I am just trying to distribute the new version that works fine on my PC. I installed 11.8 version of postgres (From the 9.5) on the server and the program distributed on all PCs kept working fine after the database actualization.
Thank you in advance any help will be kindly welcome.