AUTOMATIC REGISTRATION OF ODBC DATA SOURCE IN VC~(++) APPLICATION

LI Cun · Computing Techniques for Geophysical and Geochemical Exploration · 2003

This paper simply introduces the access interface of Microsoft ODBC database, discusses the method of automatic registration of ODBC data source(DSN) using the SQLConfigDataSource function in VC++ database application, and gives the sample implementation codes which can automatic register Access? Visual FoxPro and Excel data sources. It solves the problem of forcing the user to explicitly use the ODBC Administrator to set up ODBC data source manually during the installation process of VC++ database applications, and gives the flexibility to access data.

Read the paper · More papers on PaperTik