Re: TIdHTTP in multi-threaded environment

Giganews Newsgroups
Subject: Re: TIdHTTP in multi-threaded environment
Posted by:  Grahame Grieve (graha…
Date: Sat, 26 Jul 2003

Eric Peckham wrote:

> I am doing some background work using TIdHTTP in a separate thread,
> but I notice that the TIdHTTP component blocks the main application
> thread when it is connecting and retrieving data.  This defeats the
> whole purpose of running it in a separate thread.  Is there a way to
> get this to work the way I need it?  I'm currently inheriting from
> TThread.  Do I need to use a TIdThreadComponent instead?
> Any help would be very much appreciated.

sounds like somehow it's not quite in the right thread.
you should post your code here




In response to

TIdHTTP in multi-threaded environment posted by Eric Peckham on Thu, 24 Jul 2003