Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wait state needed for dll
Message
From
30/06/2000 11:32:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Wait state needed for dll
Miscellaneous
Thread ID:
00387105
Message ID:
00387105
Views:
44
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
Next
Reply
Map
View

Click here to load this message in the networking platform