Sunday, March 27, 2011

How to deal with SQL Server from native C++ on the Windows platform?

Is there any solution other than the ugly ADO as it is not good and badly documented?

From stackoverflow
  • You might want to take a look at the Qt toolkit, it provides an SQL interface that can talk to different database backends (including MS-SQL via ODBC).

    QSql

    Supported drivers

    cheers, mitch

  • You could use the sqlncli.dll library, but is a ugly method.

  • In the past, we used the DTL library and were relatively happy with it.

    SOCI looks like something deserving attention too. I never used it, though.

    Hippiehunter : I second the bit about SOCI, its a pretty good library and it has a fairly active community.
  • Give my CSQLBinding class a shot. It handles most everything for you.

0 comments:

Post a Comment