Simply way which helps avoid freezing application when idHttp.get doesn't work
2006-04-19 10:06:45 PM
delphi142
I have a little problem.
I use TidHttp and its method get but when web site doesn't exist at the
moment the application "freeze" for a few second. I know I could put
this action inside the thread and the problem with freezing would be
solved but I am looking for something simpler. AntiFreeze doesn't work
as well.... For some reason I can not use ping... How can I check
whether the web site exist ( and avoid freezing application) before
using IdHttp.Get ? Thanks for any advice.
Piotr W.