tIdHttp and tThread

Giganews Newsgroups
Subject: tIdHttp and tThread
Posted by:  Jack Cane (jwca…@mindspring.com)
Date: Thu, 2 Oct 2003

My multi-threaded application contains an instance of type tThread, which,
in turn, requires an instance of tIdHttp. In the tThread.Create() method I
need to instantiate the tIdHttp component and bind it to the thread. Problem
is, tIdHttp.Create() takes an argument of tComponent, whereas my thread
object is of type tThread. If a multi-threaded example using Indy is
available, I would very much appreciate a pointer to the source. Any other
ideas would also be welcome.

jwc

Replies