i would use OLEDB ... if i get a "Driver" for it
but it "seems" it is not "free" for PostgreSQL any more
Microsoft introduced ADO as an advancement over ODBC.
ADO is designed work both with ODBC drivers and OLEDB providers.
We need not have OLEDB provider to use ADO. We can use ADO with ODBC drivers also in a way better than using ODBC directly.
We need to prepare the connection string suitably.
For OLEDB providers, we start with "Provider=<OLEDB provider>;..."
For ODBC drivers, we start with "Provider=MSDASQL;{Driver=<ODBC driver>};..."
For instance, we always connect to MySql servers with ODBC drivers only with the above syntax:
Still if you want to use ODBC directly and not through ADO, FWH provides enough classes and they did work for me with Oracle longtime ago.
Note: I never tried 64 bit ODBC driver