The information in this article applies to:
SYMPTOMS
The Win32 COMM (old TTY) sample that ships with Visual C++ version 2.x and
the Windows 95 SDK (pre-release) does not work correctly under Windows 95
M8 builds and later. The problem involves assigning values to the Offset
member of the OVERLAPPED structure which is one of the arguments to the
WriteFile function call.
CAUSEThe documentation for the OVERLAPPED structure explicitly states that the Offset and OffsetHigh members must be set to 0 when reading from or writing to a named pipe or communications device. This was not done in the sample. RESOLUTION
STATUSThis is a problem with the sample, not with Windows 95. Windows 95 correctly implements WriteFile() and use of the OVERLAPPED structure. Additional query words: 4.00
Keywords : kbWinOS95 |
Last Reviewed: September 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |