Tools Needed to Compile or Build Printer Driver Not Minidriver

Last reviewed: February 23, 1995
Article ID: Q126358
The information in this article applies to:
  • Microsoft Windows Device Drvier Development Kit (DDK) for Windows version 3.1

To compile a printer driver other than the minidriver successfully, you must set the build environment correctly. The tools required for successful compilation of a printer driver are:

  • Microsoft C Compiler version 6.0 or higher.
  • Microsoft Macro Assembler (MASM.EXE) version 5.10.
  • Microsoft Segmented Executable Linker (LINK.EXE) version 5.60.220.

MASM.EXE and LINK.EXE are provided along with the Windows version 3.1 DDK in the \DDK\286\TOOLS subdirectory. The environment variables should point to the following directories:

   PATH=\MSVC\BIN;\DDK\286\TOOLS;\WINDEV\BIN
   LIB=\DDK\286\LIB;\WINDEV\LIB;\MSVC\LIB;
   INCLUDE=\DDK\286\INC;\WINDEV\INCLUDE;\MSVC\INCLUDE;


Additional reference words: environment
KBCategory: kbenv
KBSubcategory:


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: February 23, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.