Principle and Realization of ODBC Data Source Dynamic Configuration

Huang Ke-di · Jisuanji fangzhen · 2006

Towards the fallible problem of accessing different type of databases by configuring Open Database Connection(ODBC) data source manually during computer simulation process,the paper presents a method of ODBC data source dynamic configuration in program.It analyzes three modes and principles of ODBC data source configuration by using the platform of windows.Besides,it introduces two paths to realize the dynamic data source configuration.It chooses the method of modifying the register table directly.Based on the application of Oracle,it describes the approach to find the database driver by utilizing the environment variables.Then it founds the related system data sources.Finally,it gives the integral program codes of dynamic data source configuration based on VC++6.0.

Read the paper · More papers on PaperTik