PRB: Windows 95 DDK Print Processor Sample Causes Word 97 Fault

ID: Q180585


The information in this article applies to:
  • Microsoft Windows 95 Driver Development Kit (DDK)
  • Microsoft Word 97 for Windows


SYMPTOMS

The print processor sample in the Windows 95 DDK causes Word 97 to fault when printing large documents.


CAUSE

This happens because the print processor links with Winspool.lib.


RESOLUTION

To fix the problems, modify the makefile to link with Spoolss.lib and not Winspool.lib as shown below.

Sample Code


   \DDK|\PRINTER\SAMPLES\SPOOLER\WINPRINT\MAKEFILE
   "
   [ASCII 133][ASCII 133][ASCII 133][ASCII 133]
   [ASCII 133][ASCII 133][ASCII 133][ASCII 133]
   [ASCII 133][ASCII 133][ASCII 133][ASCII 133]

   LINK_OPTS = /NOLOGO /DEBUG /DEBUGTYPE:CV /SUBSYSTEM:WINDOWS USER32.LIB
   GDI32.LIB KERNEL32.LIB SPOOLSS.LIB /ENTRY:DLLENTRYPOINT

   LIBS = SPOOLSS.LIB LIBC.LIB ADVAPI32.LIB MPR.LIB SHELL32.LIB

   [ASCII 133][ASCII 133][ASCII 133][ASCII 133]
   [ASCII 133][ASCII 133][ASCII 133][ASCII 133]
   [ASCII 133][ASCII 133][ASCII 133][ASCII 133]
   " 


STATUS

We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words:

Keywords : ntddkprnt
Version : WINDOWS:97; Win95:
Platform : Win95 WINDOWS
Issue type : kbprb


Last Reviewed: October 18, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.