FIX: Garbage in Input Buffer When InBufferSize > 2048 (149279)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q149279 SYMPTOMS
Using the MSCOMM control, the contents of the input buffer may be corrupted
when read by an application. This problem can occur if the InBufferSize
property is greater than 2048 bytes and if the ParityReplace property holds
some value other than an empty string ("").
RESOLUTION
To avoid this problem, reduce the value of the InBufferSize property to
something less than 2048 bytes. Alternatively, the ParityReplace property
can be set to "", an empty string. This will disable all parity checking
and remove the problem. In addition, because Windows NT does not have this
problem, utilizing NT instead of Windows 95 or Windows 3.x may also be an
option.
STATUS
Microsoft has confirmed this to be an issue in the Microsoft products
listed at the beginning of this article. This problem has been fixed in
Microsoft Windows 98.
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kbBug kbfix kbOSWin98fix KB149279 |
---|
|