Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: Indy ftp client freezes

www.cryer.info
Managed Newsgroup Archive

Re: Indy ftp client freezes

Subject:Re: Indy ftp client freezes
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Fri, 2 Jun 2006 12:37:59

"Jamie Dale" <j.dale@turboz.net> wrote in message
news:4480232a@newsgroups.borland.com...

> How can that be done then?

Just do it.  Instantiate the desired component in the thread, or instantiate
it in the main thread and pass it to the thread, and then use it like you
normally would.  What exactly are you having a problem with?

> I've been hunting for a way around using Antifreeze for a long time
> and never found one.

Then you never learned what Indy is all about to begin with.  Threads are
the way to go for blocking sockets.  Indy is specifically designed with
threads in mind.

> Can you give an example please?

Go to http://www.deja.com and search through the newsgroup archives.  Sample
code has been posted many many times before.

(I've never done thread work before so be gentle lol).

Then I strongly suggest that you learning how to work with threads in
general before jumping in to Indy's support for them.  Delphi ships
threading examples available.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive