Microsoft KB Archive/187661

= How To Rebuilding the Exchange SDK Library =

Article ID: 187661

Article Last Modified on 7/2/2004

-

APPLIES TO


 * Microsoft Exchange Server 2003 Software Development Kit

-



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)
 Set the SDK build environment by executing the following command:

d:\mssdk\setenv d:\mssdk

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

nmake /a

 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)
 Set the SDK build environment by executing the following command:

d:\mssdk\setenv d:\mssdk

 Change to the d:\mssdk\samples\dbmsg\exchange\libsrc directory.</li> Execute the following command:

nmake /a nodebug=1

</li> 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

</li></ol>

Additional query words: kbDSupport kbMsg kbEDK kbdse

Keywords: kbhowto KB187661

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.