Results 1 to 4 of 4

Thread: Inet hangs - multiple form instances - trying Winsock

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member RS_Arm's Avatar
    Join Date
    Mar 2007
    Location
    Planet Earth
    Posts
    282

    Inet hangs - multiple form instances - trying Winsock

    Hi

    Here is my app status:

    Purpose - download multiple list files from internet
    Approach - created a simple "download form". After a while, I just needed more forms because I had more than one list of files to download. Just solved that by adding a MDIform to my project, add a button to create another "download form" instance and voilà. Apparently, my problem was solved. But no

    When I press my "download" button in my form-instance3, the other form instances (2 and 1) hangs on downloading the contents (I get a timeout sometimes) until the form-instance3 terminates all the downloads and so on, for all the other forms. So, even though I know my app is not multi-threaded, the multiple instances of the same form are in conflict (Inet component, presumably) and I can't download multiple files at the same time.

    What can I do to solve this? how can I download multiple files at the same time?

    Many thanks
    Last edited by RS_Arm; Oct 4th, 2009 at 12:09 PM. Reason: title change

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width