Platform SDK: Exchange Server

Building the COM Components

There are three new sample COM components available in the Platform SDK for developing applications with Exchange Server. Each component and the path to its respective Microsoft Visual Studio workspace files is listed in the table that follows. For more information about a specific component, see the associated reference page.

COM Components

Name Source Location
AcctCrt \samples\dbmsg\exchange\libsrc\acctcrt
ACL \samples\dbmsg\exchange\libsrc\acl
Rule \samples\dbmsg\exchange\libsrc\rule

Each component has a Microsoft Visual Studio workspace or project file that can be used to build and install the component. The workspace and project files are in Microsoft Visual Studio Version 5.0 format. If you plan to use Microsoft Visual Studio 6.0 to build the components, you can open the files and you will automatically be prompted to convert to the new format. You can safely convert the project files and build the component. The procedure for building the components is the same irrespective of the sample or whether or not you are using Visual Studio Version 5.0 or 6.0. These steps are listed in the following section.

To build the COM component

  1. Open the project or workspace with Microsoft Visual Studio
  2. Select Build->Build [name].dll (F7) (For example, Build->Build Rule.dll
  3. (Optional) If necessary, copy the component to the machine on which you plan to run the associated sample. (Only necessary if the build machine is not the machine on which you are going to run the sample.)

Important Note  If you use Microsoft Visual Studio Version 6.0 and you choose the MinSize configuration to build the component, and you plan to copy and register the component on a different machine, that machine will also require the 3.0 version of the ATL.dll dynamic link library. The new DLL is a part of the Microsoft Visual C++ 6.0 product. This only affects the MinSize configuration. You can select the MinDependency configuration to avoid this issue,