MTSEnvironment Module

The primary reason the PT application needs this module is to enable calls to the createInstance function in the MTSEnvironment module and instantiate the ADO recordset objects the application uses within the object context of Microsoft Transaction Server.

The MTSEnvironment module is really the MTSEnvironment object that was created for Scenario 1: Fitch & Mather Corporate Media Library Application. Because MTSEnvironment and the objects that call its functions and subroutines reside in the same DLL, the LitWare designers decide a COM object is not needed; instead, they copy the functions and subroutines verbatim from the MTSEnvironment COM object to the MTSEnvironment module. About the MTSEnvironment Object describes the COM object from Scenario 1.