Hi2all! What better use for working with databases in C + + and win32api? (static lib with source code, classes or simple source code, examples)

Recommended Answers

All 3 Replies

I assume you mean SQL type databases, such as Microsoft Access, SQL Server, Sybase, Oracle, etc. win32 api does not support databases. You have to use something else, like ODBC.

If all you want is simple files then use the functions in <fstream>. Google is your friend, so google for fstream and learn all about it.

Thanks for your answer, but i need some way to work with MS SQL... Can you suggest some lib to work with ODBC.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.