I tried TidAntiFreeze and it didn't work!  It seemed to reduce the 
length of time that the main form froze but not good enough.

But I managed to fix my problem.  I forgot that I was purposely 
accessing a plain procedure stored inside my thread unit from the main 
unit, and this was accessing the HTTP.Get.  So it was my main thread 
executing the Get and therefore the main form was not responding during 
the Get.

I've managed to fix this now so it's operating in the thread only.

Thanks to all who responded.

Ross.
----- Original Message ----- 
From: "Rich Cooper" <[EMAIL PROTECTED]>
To: "Borland's Delphi Discussion List" <[email protected]>
Sent: Wednesday, February 07, 2007 4:31 AM
Subject: Re: TidHTTP


How does the TidAntiFreeze control work?  Principles of operation
would be nice to know if anyone can tell them.

-Rich


> Use the TidAntiFreeze control.
>
>> I'm using Indy 9 in D7, and in my audio player I'm using a HTTP.Get 
>> to
>> retrieve a webpage inside a separate thread so as to not affect
>> operation of the main user interface.  However, during the execution 
>> of
>> the Get, my main form stops responding.  This is only a couple of
>> seconds usually, but it's quite noticeable when the VU meter stops.
>>
>
>
>
>
> ____________________________________________________________________________________
> Sucker-punch spam with award-winning protection.
> Try the free Yahoo! Mail Beta.
> http://advision.webevents.yahoo.com/mailbeta/features_spam.html
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to