How To Build Environment Required for Printer Drivers

Last reviewed: December 1, 1996
Article ID: Q141160
The information in this article applies to:
  • Microsoft Windows 95 Device Driver Kit (DDK).

SUMMARY

To successfully compile a printer driver , it is absolutely necessary that the build environment is set correctly. The tools required for the successful compilation of a printer driver are:

  • Microsoft C Compiler, version 6.0 or higher
  • Microsoft Macro Assembler, version 6.11 ( ML.EXE )
  • Microsoft Segmented Executable Linker, version 5.60.339 ( LINK.EXE )

MORE INFORMATION

The Microsoft assembler and the linker are not provided with the Windows 95 DDK. They have to be installed separately as a separate product.

The environment variables should point to the following directories:

   INCLUDE = \ddk\printer\inc; \ddk\inc16; \mstools\inc16;
   \mstools\include; \masm611\include; \ddk\inc32; \msvc\include;
   LIB = \ddk\lib; \mstools\lib16; \masm611\lib; \msvc\lib;
   PATH = \ddk\bin; \masm611\bin; \mstools\binw16; \msvc\bin


KBCategory: kbprint kbhowto
KBSubcategory: DDKPRNT DDK
Additional reference words: 4.00 environment


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: December 1, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.