One can create a new data source (MS Access) by using the following code in a C++.NET program:
// create a new database
CString csConfig = "CREATE_DB=\"" + "mynew.mdb" + "\"" + "\0\0";
TRACE1("csConfig = %s\n", csConfig);
const char *config_string = csConfig.GetBuffer(0);
SQLConfigDataSource(NULL, ODBC_ADD_DSN, "Microsoft Access Driver (*.mdb)", config_string);
Does anyone know how to configure the string for Oracle 10g XE to establish a new DSN ?