Enablement of COM+ support in C/C++ database applications

To run a C or C++ application in COM+ transactional mode, you can create the IBMDADB2 data source instance using CoCreateInstance, get a session object, and use JoinTransaction. See the description of how to connect a C or C++ application to a data source for more information.

To run an ADO application in COM+ transactional mode, see the description of how to connect a C or C++ application to a data source.

To use a component in an COM+ package in transactional mode, set the Transactions property of the component to one of the following values:
  • Required
  • Required New
  • Supported

For information about these values, see the COM+ documentation.