المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : c++ win32, SQL Server Connection, which one?



C++ Programming
11-28-2011, 09:42 AM
I'm ready to start my SQL Server part of my program, but can't decide which version to use.

There is the native SQL Server sqlncli.h which I think uses SQLOLEDB. Sounds like the way to go, but some caveats exist. If the customer does not have the client installed, I have to download the client and install it for them.

I was looking for something more portable.

There is a sqloledb.h that comes up when I add the include, seems builtin, comes from microsoft sdk's in program files.

I don't want to start writing code, and have to start again.

What do you think?