O'Reilly

YASD's
Book Support
Site

Main Page

Chapter 13 - Readme

Chapter 13 Errata Pages

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 13-1 and 13-2, Generated OLE DB Consumer codeComponent is OLEDBOne.dll
Example 13-3 and 13-4, ASP/MTS Component with OLE DB Consumer code addedComponent is OLEDBTwo.dll, test page is first.asp -- register within MTS
Example 13-5 and 13-6, MTS and OLE DB Consumer code within one DLLComponent is OLEDBOne.dll, test page is second.asp
Example 13-7, 13-8, and and 13-9, Using commands with OLE DB Consumer CodeComponent is OLEDBThree.dll, test page is third.asp, SP code is in getauthors.sql -- register component in MTS
Example 13-10 and 13-11, Updates with OLE DB Consumer CodeComponent is OLEDBThree.dll, test page is fourth.asp

For more information