O'Reilly

YASD's
Book Support
Site

Main Page

Chapter 14 - Readme

Chapter 14 Errata Pages

The Deactivate method should also release m_spObjectContext.Release(), by default.

The examples in this chapter were created with Visual C++ 6.0.

You can register and use the compiled ASP components directly, or you can open the projects and re-build the objects before registering. You do not have to re-compile the components if you don't wish to; you can, instead, use regsvr32.exe to register the components and run the tests directly.

Adding support for MTS when the project is created adds in the MTS libraries. If you create a component without MTS support and later add an MTS component, you need to add the MTS libraries. Do this by accessing the settings option from the Project menu, selecting the Link tab, and then adding "mtx.lib" and "mtxguid.lib" into the Object/Library Modules text field.

Example to Chapter Mapping
Example 14-1 through 14-4, ATL/MFC Component with File AccessComponent is Ctest2APP.dll, test page is first.asp -- register component with MTS
Example 14-5 through 14-8, Object Serialization with ASP/MTS/MFCComponent is Ctest2APP.dll, page is second.asp
Example 14-9 and 14-10, Using threadsComponent is Ctest2APP.dll, test page is third.asp

For more information