Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Wait state needed for dll
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement