description | title | ms.date | helpviewer_keywords | ms.assetid | |||
---|---|---|---|---|---|---|---|
Learn more about: Adding an ATL OLE DB Provider |
Adding an ATL OLE DB Provider |
05/09/2019 |
|
26fba1e3-880f-4bc6-90e5-2096a48a3a6c |
::: moniker range=">=msvc-160"
The ATL OLE DB Provider wizard is not available in Visual Studio 2019 and later.
::: moniker-end
::: moniker range="<=msvc-150"
Use this wizard to add an ATL OLE DB provider to a project. An ATL OLE DB provider consists of a data source, session, command, and rowset classes. The project must have been created as an ATL COM application.
-
In Class View, right-click the project. On the shortcut menu, click Add and then click Add Class.
-
In the Visual C++ folder, double-click the ATL OLE DB Provider icon or select it and click Open.
The ATL OLE DB Provider Wizard opens.
-
Define settings as described in ATL OLE DB Provider Wizard.
-
Click Finish to close the wizard, which will insert the newly created OLE DB provider code in your project.
::: moniker-end