C++ and ODBC

Hello. I'm looking to connect C++ to an Access database. What is the syntax for connecting? I'm familiar with PHP's connection syntax if it's anything similar. Also, what kind of a project is it? WIN32? Empty project? Thanks.
I'm not really familiar with connecting to databases etc with C++, but I would assume you would probably need to include a library or dll of some sort in order to access the functions to connect etc, so try googling 'access c++ library' or something similar. You might also find better help if you try an Access specific help site and/or the help site for the library you need.
closed account (z05DSL3A)
If you want to do database stuff on windows, probably the best place to start your research is here:
http://msdn.microsoft.com/en-us/library/aa968814(VS.85).aspx

PS. Be prepared for george135 to tell you ODBC is obsolete. ;0)
Last edited on
Topic archived. No new replies allowed.