Correct Postgresql setup

What’s the correct method to get the postgresql driver working? It works on my older VM (Delphi XE8) but I’ve not been able to get it working on the new (D12) VM. The app works fine, it’s just the connection manager part of SM that fails.
If I add the debug setting to RemObjects.DataAbstract.Unmanaged.ini, and the error is this:

TConnectionTesterThread.Execute: EROUnknownExceptionReceivedFromServer, [FireDAC][Phys][PG]-314. Cannot load vendor library [libpq.dll]. The specified module could not be found.
Hint: check it is in the PATH or application EXE directories, and has x86 bitness.

I have the 32-bit version of libpq.dll in the windows\SysWOW64 folder and I’ve also tried creating a specific folder for it and adding that to the path, but still no joy.

Hi,

Does FireDAC able to connect to PostgreSQL w/o DataAbstract?
I can suggest to launch Dependency Walker and see if libpq.dll is depended on other dll (like msvcr90.dll, etc) that isn’t present on your pc

No, it wasn’t.

This wasn’t present. Sorted now, thanks very much once again.