Software Development Kit

The Microsoft Commerce Server 2002 Software Development Kit (SDK) includes extensive samples and tools to help developers get started programming with Commerce Server. When installed, all of the files composing the Commerce Server 2002 SDK are in a folder called "SDK" under the "Microsoft Commerce Server" folder. This topic describes the structure and contents of the SDK folder.

Ee797810.note(en-US,CS.20).gifNotes

  • You must include the following components of the Platform SDK to build the samples in the Commerce Server 2002 SDK (choose at least these options on the Custom Installation screen of the Platform SDK installation program):

         Configuration Options (all)

         Build Environment

                   Base Services (all)

                   Component Services

                             COM

                   Data Access Services

                             OLE DB

                             SQL Server

                   Management Services

                             Microsoft Management Console

                   Minimum Build Tools

                   Networking and Directory Services

                             Active Directory Services Interface

                   Web Services

                             Microsoft Internet Explorer

                             Microsoft Internet Information Server

                   Win32 API

     

    You may also want to install the following debugging tools at the same time:

         Debugging Tools

                   WinDbg

                   SQL Profiler

                   OEM Support Tools

                             UserDump

     

  • In addition to installing the Platform SDK, you must also update your system include path to contain the Commerce Server 2002 SDK Include folder, and update your Microsoft Visual C++ directory options to contain the Commerce Server 2002 SDK Include folder.

    Note that the installation of the Platform SDK should have added the path settings that it requires to the user INCLUDE and LIB environment variables:

    • INCLUDE: <Platform SDK folder>\Include
    • INCLUDE: <Platform SDK folder>\Include\ATL30
    • LIB: <Platform SDK folder>\Lib

To update your user INCLUDE environment variable

To update Microsoft Visual C++

To update your user INCLUDE environment variable

  1. Right-click My Computer, and then click Properties.
  2. In the System Properties dialog box, on the Advanced tab, click Environment Variables.
  3. In the Environment Variables dialog box, select the variable INCLUDE from the User variables for <username> box, and then click Edit.
  4. In the Edit User Variable dialog box, append the path to the Commerce Server 2002 SDK Include directory to the value in the Variable Value box. For example, C:\Program Files\Microsoft Commerce Server\SDK\Include.
  5. To exit all three dialog boxes, click OK three times.

To update Microsoft Visual C++

  1. Open Microsoft Visual C++.
  2. On the Tools menu, click Options.
  3. In the Options dialog box, on the Directories tab, verify that the Include files option in the Show directories for box is selected.
  4. Click New, and then type the path to the Commerce Server 2002 SDK Include directory. For example, C:\Program Files\Microsoft Commerce Server\SDK\Include.
  5. Click OK.

This section contains:

Copyright © 2005 Microsoft Corporation.
All rights reserved.