Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding methods to a class object
Message
 
 
À
17/08/2007 10:55:55
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01248400
Message ID:
01248800
Vues:
27
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform