|
-
November 5th, 2015, 08:26 PM
#11
Re: c++ wrapper for sql server?
It's too bad that no one uses the ATL consumer db classes - imo, they are much easier to use than the MFC classes. Also, if the db schema changes, there only one file to update.
I don't have anything more recent but the following link is how the use the ATL Consumer db classes to connect to an Access db.
http://forums.codeguru.com/showthrea...ables-database
Connecting to sql is a simple matter of point the wizard to a sql data source instead of access.
This link has example source code and you should be able to import the sln into a more recent version of Visual Studio. Probably some some of the wizard steps descibed in the text have changed as well. Still, it should be enough to get you going.
Last edited by Arjay; November 5th, 2015 at 08:40 PM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|