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

ID: Q180585

The information in this article applies to:

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:4.0
Platform          : WINDOWS
Issue type        : kbprb
Solution Type     : kbpending

Last Reviewed: June 25, 1998