General information
Category:
ActiveX controls in VFP
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only