#include // Support ODBC
/ / # Pragma Comment (lib, "odbc32.lib")
IF (SqlConfigDataSource (NULL, ODBC_ADD_DSN, "Microsoft Access Driver (* .mdb", "DSN = student registration / 0dBq = H: // setup // msdn1 // samples // vc98 // mfc // data // stdreg //stdreg32.mdb/0description= test increase data source 2 ")))
AfxMessageBox ("Success");
Else
AfxMessageBox ("fail");