Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding methods to a class object
Message
 
 
To
17/08/2007 10:55:55
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01248400
Message ID:
01248800
Views:
25
What should GetData method of WinSock receive? It looks like it should be an object and not a string from the error.

>Trying to use this, but getting an error that @StrData does not evaluate to an object. I know the THISFORM needs to be taken care of, but this is the line before that. Any help appreciated.
>
>
>
>	**********************************************************
>	PROCEDURE DMSWinsockControlEvents_DataArrival(bytesTotal AS NUMBER) AS VOID HELPSTRING "Occurs when data has been received from the remote computer"
>
>		strData = SPACE(256)  && Define string to pass to GetData
>
>		THIS.oSock.OBJECT.GETDATA(@strData)
>		THISFORM.txtOutput.VALUE = strData
>
>
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform