Avatar of thready
thready

asked on 

access Postgres through MFC with libpqxx or OLE DB?

Hi Experts,

In accessing Postgres with an MFC app, should I choose the libpqxx driver or the OLE DB driver?

Thanks for your opinion!
Mike
C++PostgreSQLMicrosoft Development

Avatar of undefined
Last Comment
xeltek
Avatar of earth man2
earth man2
Flag of United Kingdom of Great Britain and Northern Ireland image

With object oriented inheritance can't you do both ?  Overwrite methods that need to use libpq to get performance.

It all depends if your code needs to be ported to SQL Server.
Avatar of thready
thready

ASKER

Right now I don't care about speed.  I thought I rounded it down to the 2 drivers that I *should* choose from for C++ (MFC app), but I just want to make my life as easy as possible.  I want the best c++ driver I can find that allows me to use nice objects and get results from queries.  I'm not sure that OLE DB is right for me...  I was hoping for something simpler.  Any idea?
ASKER CERTIFIED SOLUTION
Avatar of xeltek
xeltek
Flag of China image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
C++
C++

C++ is an intermediate-level general-purpose programming language, not to be confused with C or C#. It was developed as a set of extensions to the C programming language to improve type-safety and add support for automatic resource management, object-orientation, generic programming, and exception handling, among other features.

58K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo