Programming Considerations (OLE DB)

This section discusses various OLE DB programming considerations.

For more information on

Go to

OLE DB support for aggregation


Registering OLE DB components

Registry Entries

Identifying enumerators in the registry

Enumerator Registry Entries

Identifying provider registry entries

Provider Registry Entries

Identifying error lookup registry entries

Error Lookup Service Registry Entries

Provider support for single, apartment, and free-threaded OLE DB objects

Provider Threading Models

Provider threading responsibilities

Provider Threading Responsibilities

Free-threaded consumer responsibilities

Consumer Threading Responsibilities

Preventing interruptions from the wrong thread

Threading and Notifications

Error objects and thread types

Threading and Error Objects

Threading and transaction assumptions

Threading and Transactions

Storage objects and IPersist* objects threading types

Threading and COM Objects

Freeing memory by the consumer

Argument Memory