Visual C++ 6 Unleashed

Visual C++ 6 Unleashed

By MICKEY WILLIAMS and David Bennett

MFC's Database Classes

The Microsoft Foundation Classes provide a set of classes that encapsulate the ODBC API and make it a bit simpler to use in C++ applications. However, this simplicity comes with the cost of giving up a bit of the finer control provided by using the ODBC API directly. The Microsoft Foundation Classes also provide a set of classes that encapsulate the Data Access Objects (DAO) interface. The DAO classes are quite similar to the ODBC classes but also have some fairly significant differences.

Of the database interfaces discussed in this book, the MFC database classes are one of the simplest to use, particularly if you are performing only some of the more common simple database operations. The MFC classes also provide some very simple mechanisms for integrating your data into graphical applications, as you will see in Chapter 26, "Active Containers."

Share ThisShare This

Informit Network