How do you access a database from a C++ or Windows API program? :-/ I would like to be able to get data from a database as strings or something. I want to use a database so that it is easily changed from MS Access or something similar. Thanks in advance.
ylin333
0
Newbie Poster
Recommended Answers
Jump to PostThe oldest and most common method is via ODBC. Its pretty complicated stuff. There are a few
Jump to PostIf your database is "online," it is rather easy to access it with C++. To make things even simpler, you would probably want to use something like MySQL as your online database, but it's all a matter of taste really.
Now, onto the steps you'd take to access your …
All 8 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
ylin333
0
Newbie Poster
ylin333
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
PixelExchange
0
Junior Poster in Training
ylin333
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.