The Active Template Library (ATL) MinMaxShip Component Sample

The MinMaxShip sample component, which is included on the Commerce Server CD, calculates the shipping total for an order by taking the largest list price in an OrderForm object's Items collection, multiplying it by a percentage, and comparing the product to some specified minimum. The larger number in this comparison is then stored in the OrderForm's _shipping_total name/value pair.

This section demonstrates how to use the Active Template Library and the Pipeline Component Wizard to create and implement the MinMaxShip component as an Active Template Library (ATL) object. This tutorial covers the following topics:


© 1997-1998 Microsoft Corporation. All rights reserved.