C++, Connect to Access DB with no ODBC entry?

I'm using VC++ 6.0

Consider:

CDatabase pDB=NULL;
pDB->OpenEx(_T("DSN=MYDBNAME;UID=me;PWD=mypw"));

The ODBC entry points to a Microsoft Access Database.

Is it possible for me to connect to the database file in the absence of an ODBC entry?

PMH4514Asked:
Who is Participating?
 
Surone1Commented:
or this link:
Writing a Visual C++ ADO Application
http://www.informit.com/library/content.aspx?b=Visual_C_PlusPlus&seqNum=213
0
 
Surone1Commented:
you would need to use an ADO connection
maybe the following link helps you:
http://cherrycitysoftware.com/ccs/Providers/ProvPalmDB.aspx
0
 
PMH4514Author Commented:
ahh I see. thanks!
0
 
PMH4514Author Commented:
perfect
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.