Required Files

These files are required for developing MS DTC applications with C or C++.

File Description
ODBCSS.H You must include this header file in source files that use ODBC.
XOLEHLP.H You must include this header file in source files that use the DtcGetTransactionManager interface.
TRANSACT.H You must include this header file in source files that use any of these MS DTC interfaces:
ITransaction
ITransactionDispenser
ITransactionOptions
ITransactionOutcomeEvents
XACTOMSG.H This header file is automatically included by XOLEHLP.H.
XOLEHLP.LIB You must link this library file with applications that call the DtcGetTransactionManager function.

To install these files, run the Microsoft SQL Server PTK setup program and select the MS DTC development libraries checkbox. The header files are installed in the MSDTC\INCLUDE subdirectory of the directory that you specify when you run PTK setup. The library file is installed in the MSDTC\LIB subdirectory of the directory that you specify when you run PTK setup.

C or C++ applications that initiate MS DTC transactions must be used on systems on which either the MS DTC server or the MS DTC client has been installed. For information about these installation options, see Setup.