Use the HTTPSocket events to your advantage. You are trying to force a "Yield = False" while still taking advantage of the events. I don't know why the HTTPSocket events are not firing unless the "While...Wend" structure does not yield to BackgroundTasks like the
"For...Loop".


Thanks for your helpful answer, Phil. You are right -- the thread was unnecessary (I used it only so the modal dialog would update, but if I do that from the socket itself it works).

The, ahem, "trick" to getting the socket to work in the background was to poll during the while/wend loop. This works:

    while DownloadError = 0 and UserCancelled = false
      mySocket.Poll
    wend

Jon
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to