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

ID: Q152536


The information in this article applies to:


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          : kbnokeyword kbDDK 
Version           : 4.00
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: March 5, 1999