Hi Viv,
Here is the code from within the TCPControl.DataArrival() event --------->
*** ActiveX Control Event ***
LPARAMETERS bytestotal
LOCAL lcData
lcData = SPACE(bytestotal)
This.Object.GetData(@lcData)
Thisform.SetData(lcData,bytestotal)
Thisform.SetDataToBuffer( lcData,bytestotal )
-------------------------
the parameter always contains the correct number of bytes. by the time This.Object.GetData(@lcData) returns, lcData contains 72 spaces.
Jon
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only