Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ODBC Provider supports creating an initialized data source object through a file moniker. To do this, follow these steps:
Create a file moniker (.dsn file). A .dsn file contains connection information.
Bind to this file moniker, asking for IID_IDBInitialize. This returns an uninitialized data source object.
A data source object can also be obtained through CoCreateInstance using the CLSID MSDASQL.
This topic is a part of: