Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binary Header on ASCII Transmission - Problems
Message
From
27/09/2005 12:27:43
 
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP
Network:
Novell 5.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01052700
Message ID:
01053516
Views:
14
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
Map
View

Click here to load this message in the networking platform