DOCERR: Ddkenv.bat Called Before VC++ and MASM Batch Files

Last reviewed: October 10, 1997
Article ID: Q152536
4.00 WINDOWS kbprg knenv kbtool kbdocerr

The information in this article applies to:

  • Microsoft Win32 Device Driver Kit (DDK) for Windows 95, version 4.0

SUMMARY

The Windows 95 Device Driver Kit (DDK) documentation erroneously states that in order to set the build environment, you should call the ddkenv.bat file first before calling the Visual C++ and MASM batch files. The order of these calls is incorrect and should be reversed.

Due to the way batch files construct the build environment, the MASM batch file new-vars.bat, typically located in the \masm611\binr directory, should be called first.

The Visual C++ batch file should be called second. For 16-bit versions of Visual C++, use the msvcvars.bat file, typically located in the \msvc\bin directory. For 32-bit versions of Visual C++, use the vcvars32.bat file, typically located in the \msdev\bin directory.

The ddkenv.bat file, typically located in the \ddk directory, should be called third.

REFERENCES

See the Windows 95 DDK for more information on the build environment.


Additional reference words: 4.00
KBCategory: kbprg knenv kbtool kbdocerr
KBSubcategory: DdkMisc
Keywords : DdkMisc
Version : 4.00
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.