The information in this article applies to:
SUMMARY
When a 16-bit application running under Window NT opens a file as a named
pipe, subsequent reads from that file can result in an access violation
(AV) in the WOW subsystem.
CAUSEThe file was opened as a named pipe under the WOW subsystem, but the DOS SFT_ flags in the file handle were not marked to indicate that the handle was for a named pipe. (When _lread() fails under the WOW subsystem, the DOS subsystem will make an attempt to carry out the read operation before returning failure to the application.) When the read-file operation failed in WOW, the DOS emulation layer incorrectly determined that, since the named pipe flag wasn't set for the handle, it would deal with the handle as with a disk-based file, leading to the unexpected result. RESOLUTIONTo solve this problem the WOW code was fixed. When a named pipe file is opened/created, the named pipe bit is now set in the file handle. STATUSMicrosoft has confirmed this to be a problem in Windows NT versions 3.5, 3.51, and 4.0. This problem was corrected in the latest Microsoft Windows NT 4.0 U.S. Service Pack. For information on obtaining the service pack, query on the following word in the Microsoft Knowledge Base (without the spaces): S E R V P A C K Additional query words: prodnt
Keywords : kbnetwork kbbug4.00 kbbug3.50 kbbug3.51 kbfix4.00.sp2 nt16ap NTSrvWkst |
Last Reviewed: January 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |