The book jumps right in with a discussion of what happens when you make COM calls with an in-depth discussion of COM interception. The author shows that you can emulate some of the powers of MTS yourself. (Simply put, by managing resources and transactions for you, MTS-enabled COM objects can be more scalable and robust.) Short code excerpts show off programming with COM and MTS together. The author also demonstrates a method to tweak the wizard-generated code in Visual C++, enabling you to write more powerful MTS-aware ATL components.
You can also enable your ATL-based objects to access corporate data with ADO using the introduction provided here. The last section on the new COM+ available in Windows 2000 illuminates the capabilities of MTS that will soon be integrated into the COM+ infrastructure itself. The author provides a detailed tour here of what COM+ means for the future.
In all, Professional Visual C++ 6 MTS Programming is a book for experts who want to see what MTS (and COM+) do under the hood. If you need to squeeze more performance out of your MTS-enabled ATL components, take a look at this technically savvy book. --Richard Dragan
Topics covered: COM and MTS, threads and contexts, type libraries and fast format strings, marshaling and interception, MTS feature overview, surrogates, object contexts, transactions, just-in-time (JIT) activation, programming ATL for MTS COM objects, AppWizard support for ATL, OLE DB programming with ATL, MTS packages and deployment, administration modules for MTS 2.0, Distributed Transaction Controller (DTC), COM security and deployment, debugging MTS, using Visual Studio Analyzer, COM+ overview: new features and administration.