Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wait state needed for dll
Message
De
30/06/2000 11:32:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Wait state needed for dll
Divers
Thread ID:
00387105
Message ID:
00387105
Vues:
45
I have created an in-process server that was previously an out-process server. The server creates an instance of the winsock control to send and receive data. One of the server methods issues the winsock peakdata method to test for data. If no data exist the program goes into a while loop and issues peakdata until data is found or a timeout occurs. If the program has to go into the while loop the result is always a timeout. When converting to in-process I had to remove the DoEvents command from the loop and I suspect this is the problem. However a dll does not support DoEvents. Does anyone have another idea on how to get a wait state for my while loop so winsock can update itself?

Thanks,
David
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform