Print Server Data Filter DLL causes Access Violation in SNAPRINT

ID: Q197437


The information in this article applies to:
  • Microsoft SNA Server for Windows NT, version 3.0, 3.0 Service Pack 1, 3.0 Service Pack 2, 3.0 Service Pack 3, SNA Server 4.0, and 4.0 Service Pack 1


SYMPTOMS

Snaprint.exe generates an Access Violation when attempting to read (void*)NULL pointer (0x00000000) from the PrtFilterJobStart function in the Print Server Data Filter DLL.


MORE INFORMATION

The PrtFilterJobStart function returns a unique identifier (cast to a pointer to a void) if it wants the opportunity to filter the data for this print job. If the user DLL returns a NULL pointer, it is indicating that it is not interested in filtering this job. No further calls to the user DLL will be made for this print job.

If a FilterDLL is present, it can return a value to say "I don't want to filter this job's data." In the SNA Server SDK Documentation, this value is listed as NULL = 0. In the code, however, the code consistently checks against INVALID_HANDLE_VALUE = -1. The code is fixed so that now a returned value of NULL is updated to INVALID_HANDLE_VALUE.

RESOLUTION

SNA Server 3.0

To resolve this problem, obtain the latest service pack for SNA Server version 3.0. For additional information, please see the following article in the Microsoft Knowledge Base:
Q184307 How to Obtain the Latest SNA Server Version 3.0 Service Pack


SNA Server 4.0



This problem was corrected in the latest SNA Server version 4.0 U.S. Service Pack. For information on obtaining this Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

S E R V P A C K


NOTE: If this product was already installed on your computer when you purchased it from the Original Equipment Manufacturer (OEM) and you need this fix, please call the Pay Per Incident number listed on the above Web site. If you contact Microsoft to obtain this fix, and if it is determined that you only require the fix you requested, no fee will be charged. However, if you request additional technical support, and if your no-charge technical support period has expired, or if you are not eligible for standard no-charge technical support, you may be charged a non-refundable fee.

For more information about eligibility for no-charge technical support, see the following article in the Microsoft Knowledge Base:
Q154871 Determining If You Are Eligible for No-Charge Technical Support


STATUS

Microsoft has confirmed this to be a problem in Microsoft SNA Server versions 3.0 and SNA Server version 4.0. This problem was first corrected in SNA Server 3.0 Service Pack 4.

Additional query words:

Keywords :
Version : WinNT:3.0, 4.0
Platform : winnt
Issue type : kbbug


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