Rediger

OLE DB Templates

The OLE DB templates make OLE DB data access easier. Visual C++ provides template classes that implement many of the commonly used OLE DB interfaces. You can use the Visual C++ consumer templates to write an OLE DB client (consumer) application and the provider templates to write a server (provider) application.

In This Section

OLE DB Consumer Templates
Provides links to the OLE DB Consumer Template classes listed by usage.

OLE DB Provider Templates
Provides links to the OLE DB Provider Template classes listed by usage.

OLE DB Programming Overview
Describes what OLE DB is and discusses Universal Data Access in OLE DB.

OLE DB Programmer's Reference
Provides links to the Windows SDK documentation on OLE DB.

OLE DB Templates Samples
Provides links to the OLE DB Templates samples that show how to use OLE DB in your projects.

OLE DB Consumer Templates
Discusses conceptual material about the OLE DB Consumer Templates.

OLE DB Provider Templates
Discusses conceptual material about the OLE DB Provider Templates.

Creating an OLE DB Consumer
Describes creating an OLE DB Templates consumer.

Creating a Simple Read-Only Provider
Describes creating a simple read-only provider that reads a pair of strings.

Creating an Updatable Provider
Describes creating providers that can write to the data store.

OLE DB Consumer Attributes
Discusses a simplified interface to inject code based on the OLE DB Consumer Templates to create working OLE DB consumers.

Active Template Library (ATL) Reference
Provides reference material for the ATL Library, a set of template-based C++ classes that simplify the programming of COM objects.

Debugging
Provides links to using the Visual Studio debugger to correct logic errors in your application or stored procedures.