Sql - Server Oledb Driver !new!
// Set connection properties (DBPROPSET_DBINIT) // ... (see MSDN for full property setup)
// Create Data Source object IDBInitialize* pIDBInitialize = NULL; CoCreateInstance(CLSID_MSOLEDBSQL19, NULL, CLSCTX_INPROC_SERVER, IID_IDBInitialize, (void**)&pIDBInitialize); sql server oledb driver
Provider=MSOLEDBSQL19;Server=myServerName;Database=myDatabaseName;Uid=myUsername;Pwd=myPassword; // Set connection properties (DBPROPSET_DBINIT) //