Knowledge Base

How To Rebuilding the Exchange SDK Library

Article ID: 187661

Article Last Modified on 7/2/2004


APPLIES TO


This article was previously published under Q187661

SUMMARY

Whether you have a version incompatibility or want the debug version of the Exchange SDK library, there may be times when you want to rebuild the library. This article documents the steps needed to build the debug and release versions of the Exchange SDK library.

MORE INFORMATION

These steps assume that your build environment and messaging SDK components are installed in the D:\mssdk directory. If your install location is different, all that should change is the base directory component (D:\mssdk). In addition, your compiler's environment variables must also be set so you can build from the command line.

Build the Debug Version of the Library (ExchSDKd.lib)

  1. Set the SDK build environment by executing the following command:

    d:\mssdk\setenv d:\mssdk

  2. Change to the d:\mssdk\samples\dbmsg\exchange\libsrc directory.
  3. Execute the following command:

    nmake /a

  4. After the build process is complete, you should see the following command among the last few lines of the output:

    xcopy .\Win32\Debug\ExchSDKd.Lib d:\mssdk\Lib

Build the release Version of the Library (ExchSDK.lib)

  1. Set the SDK build environment by executing the following command:

    d:\mssdk\setenv d:\mssdk

  2. Change to the d:\mssdk\samples\dbmsg\exchange\libsrc directory.
  3. Execute the following command:

    nmake /a nodebug=1

  4. After the build process is complete, you should see the following command among the last few lines of the output:

    xcopy .\Win32\Debug\ExchSDK.Lib d:\mssdk\Lib


Additional query words: kbDSupport kbMsg kbEDK kbdse

Keywords: kbhowto KB187661