A Brief Overview of DAO

MFC includes database classes for programming with Data Access Objects (DAO). DAO is an application programming interface (API) based on OLE.

Suggested Reading in the Visual C++ Programmer’s Guide

In general, the DAO database classes offer more complete database functionality than the ODBC database classes, which were first introduced in MFC 2.5.

DAO supplies a hierarchical set of objects that use the Microsoft Jet database engine to access data and database structure in:

DAO can access other types of databases through ODBC.

Not all DAO objects are exposed in MFC, although most of the DAO functionality is available. You can make direct calls to DAO, and the DAO Software Development Kit (SDK) and DAO Help are included with Visual C++ version 5.0.

Data Access Objects in MFC

MFC encapsulates the following DAO objects (listed in hierarchical order).