Knowledge Base

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

PSS ID Number: 152536

Article Last Modified on 3/7/1999


The information in this article applies to:


This article was previously published under Q152536

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 query words: 4.00

Keywords: KB152536
Technology: kbAudDeveloper kbWin32DDK95 kbWin32DDKSearch kbWin32sSearch kbWin95search kbWinDDKSearch