I want to access MS Access database. NE ideas how to connet to the database?I am using VC\++ 6.0, console application not MFC!
Printable View
I want to access MS Access database. NE ideas how to connet to the database?I am using VC\++ 6.0, console application not MFC!
I'm taking C++ in college right now, and wanted to do this for work. I asked my teacher about it, and she told me that there was no way to do it with C++, and visual basics would be a better choice to try to integrade with Access.
But I have read somewhere that u can use MFC database class as a wrapper class and then can connect to the database!
May be i am wrong!
ODBC = Open DataBase Connectivity. It is the standard (or one of the standards) used to communicate with a database.
I've never done it, but you CAN use C++ (if you have the proper library) with an ODBC database.
There is also COM & DCOM which allow data exchange between different Windows applications.
I don't think that Access is an SQL database... not sure.
Follow the links in this thread.
gg
There ain't a thing you can do in VB that you can't do in C++. It's just harder...