Share via


Setting Up the Cancel Appointment Sample Application

Topic Last Modified: 2007-04-16

The Cancel Appointment sample application is installed by default in the directory in which the Microsoft Exchange Server 2007 Software Development Kit (SDK) is installed, in the \Samples\CancelAppointment\ folder. Before using the CancelAppointment executable, build the CancelAppointment.exe file. After the CancelAppointment executable is built, you can run the Cancel Appointment sample application from the command line.

Building the Cancel Appointment Sample Application

To build the Cancel Appointment sample application

  1. Navigate to the \Samples\CancelAppointment\ directory in the directory in which the Exchange Server 2007 SDK is installed and double-click the CancelAppointment.dsw file icon.

    The CancelAppointment Microsoft Visual C++ workspace opens.

  2. Verify that the file paths of the msado25.tlb and cdoex.tlb files in the #import statements near the top of cancelappointment.cpp are correct. If not, modify them to reflect the correct file locations.

  3. From the Build menu, select Build CancelAppointment.exe to build the CancelAppointment.exe file in the \Samples\CancelAppointment\Release\ directory.