Friday, 27 September 2013

Delphi Application freezes while loading data

Delphi Application freezes while loading data

My Delphi application communicates with server through HTTP request. Every
30 seconds It calls one procedure DownLoad(URL) which returns the data to
the application.
As the data size large it will take around 5-6 seconds to return data. Now
when it downloads the data, it will freeze whole screen. I am going to use
threading so that once data downloading completes it will notify
application about data downloading is completed and application will not
get hanged/freeze.
I wanted to know if that is the only option to acomplish this? or if there
is any ways other than threading? Any good example of threading is
welcome.
Thanks.

No comments:

Post a Comment