HOWTO: Rebuilding the Exchange SDK Library

ID: Q187661

The information in this article applies to:

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
Technology        : kbMsg kbEDK
Version           : WINDOWS:5.5
Platform          : WINDOWS
Issue type        : kbhowto

Last Reviewed: October 14, 1998