Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP freezes in DataArrival in MSWinSock
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
VFP freezes in DataArrival in MSWinSock
Divers
Thread ID:
00688038
Message ID:
00688038
Vues:
86
Been playing around with MS WinSock Control in VFP. I just have the problem that VFP totally freezes up (tried in both VFP6 and 7) when the DataArrival Event completes.

Code Snip:
*** ActiveX Control Event ***
LPARAMETERS bytestotal

LOCAL lcData as String
lcData = REPLICATE(CHR(0), bytestotal)

this.getdata(@lcData, 8, bytestotal)

this.Parent.txtDayTime.Value = this.Parent.txtdayTime.value+STRTRAN(lcData, CHR(0), "")
Anyone tried this and had success? When in debugger, it actually does fire (Trying to get server time from web server through TCP/IP port 13), and bytestotal is 51 and lcData does receive the data correctly and the textbox value is changed.

Any help is appreciated.
- Erik Niese-Petersen

Crazy Dane in USA.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform