BUG: VBCE Winsock Control Might Not Receive Binary Data (234576)
The information in this article applies to:
- Microsoft Windows CE Toolkit for Visual Basic 6.0
This article was previously published under Q234576 SYMPTOMS
When you use the Winsock control to try to receive binary data (that is, a bitmap, and so forth), you might only receive a subset of your data. In the DataArrival event, you can verify that the correct number of bytes is received, but you cannot get all of the data using the GetData method.
The documentation for the GetData method of the Windows CE Winsock Control incorrectly states:
GetData supports only strings and arrays of integers. It is common to use the GetData method with the DataArrival event.
The Winsock control for the Windows CE Toolkit for Visual Basic 6.0 only supports strings. CAUSE
The CE Winsock control only retrieves data to the first ASCII 0 it receives, and then it stops.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 8/19/2005 |
---|
Keywords: | kbBug kbpending kbToolkit KB234576 |
---|
|