ODBC: Configuring an ODBC Data Source

 

The latest version of this topic can be found at ODBC: Configuring an ODBC Data Source.

To use a data source with an application you have developed, you must use ODBC Administrator to configure it. ODBC Administrator keeps track of available data sources and their connection information in the Windows registry. Use ODBC Administrator to add, modify, and delete data sources in the Data Sources dialog box and to add and delete ODBC drivers.

Note

This information applies when you use MFC Data Access Object (DAO) classes for ODBC access and when you use MFC ODBC classes.

ODBC Administrator is automatically installed with the Microsoft Foundation Classes (MFC) library database support. For more information about the ODBC Administrator program, see ODBC Administrator and the online ODBC API Reference Help system.

For information about how to write ODBC Setup and Administration programs for MFC database applications,Technical Note 48.

See Also

ODBC Basics
ODBC: Calling ODBC API Functions Directly