Microsoft KB Archive/833832

= The Snaprint.exe program quits when you stop or start 5250 print sessions =

Article ID: 833832

Article Last Modified on 10/26/2005

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition
 * Microsoft Host Integration Server 2000 Service Pack 1

-





SYMPTOMS
When you (if you are an administrator of Microsoft Host Integration Server 2000) use SNA Manager to stop and to start 5250 print sessions, the SNA Host Print service, Snaprint.exe, may quit unexpectedly.

Additionally, you may receive an error message that is similar to the following:

snaprint.exe - Application Error

The instruction at  referenced memory at. The memory could not be &quot;read&quot;.

Click OK to terminate the program.

If the Drwtsn32.exe program is configured as the default debugger, the Drwtsn32.log file may be updated with an entry that details an access violation in the Snaprint.exe program. The details of the access violation may vary because of the nature of the access violation.



CAUSE
Sometimes, the SNA Host Print service must reallocate the buffer that is used to store the DEVMODE structure of a print session. The memory pointer for the new buffer is not passed to the print manager when 5250 print sessions are used. The failure to pass the correct memory pointer leads to the following conditions:
 * An incorrect parameter is passed on subsequent Graphics Device Interface calls.
 * The wrong memory buffer is freed when a 5250 print session is stopped.

These conditions lead to various access violations and an abnormal termination of the SNA Host Print service when you stop and restart 5250 print sessions.



Service pack information
To resolve this problem, obtain the latest service pack for Microsoft Host Integration Server 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

328152 How to obtain the latest service pack for Host Integration Server 2000

Hotfix information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version      Size    File name --  14-Jan-2004  19:37  5.0.0.962     20,752  Msg5250.dll 14-Jan-2004 19:37  5.0.0.962    250,128  Ppd3270.dll 14-Jan-2004 19:37  5.0.0.962    139,536  Ppd5250.dll 14-Jan-2004 19:37  5.0.0.962     49,424  Prmngext.dll 14-Jan-2004 19:36  5.0.0.962    209,168  Snacfg.dll 14-Jan-2004 19:37  5.0.0.962     24,848  Snaxlt.dll 14-Jan-2004 19:37  5.0.0.962    282,896  Winvprt.dll 14-Jan-2004 19:37  5.0.0.962     57,616  Pdfcomp.exe 14-Jan-2004 19:37  5.0.0.962     94,480  Snaprint.exe Note Because of file dependencies, the most recent fix that contains the previous files may also contain additional files.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

This problem was corrected in Microsoft Host Integration Server 2000 Service Pack 2.

Keywords: kbbug kbfix kbqfe kbhotfixserver KB833832

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.