Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : 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 16:09:53 |
"Jamie Dale" <j.dale@turboz.net> wrote in message
news:4480b4fc@newsgroups.borland.com...
> I beg to differ however I got an instance on every form in my project.
That is not supposed to happen. Indy is designed to only work with one
instance per process. If you can create multiple instances, then that is a
bug that needs to be fixed.
> > You can't use it on multiple forms simultaneously.
>
> I have - made quite a big difference too.
I seriously doubt that. TIdAntiFreeze maintains a global pointer to itself.
All accesses to TIdAntiFreeze by Indy's internals go through that global
pointer. Regardless of how many instances you have available, only the last
one will ever get called into.
Gambit
none