If you're doing anything time-consumig (like reading data from internet
socket) and you want your program to respond to user actions (to Windows
/ XWindows / any-other-event-driven-environment events), to repaint its
windows etc. you have to merge event loop with your data-reading code.
Somethi
10:57
To: [EMAIL PROTECTED]
Subject: [fpc-pascal]Program is busy
When writing data to file or reading data stream directly from port or
downloading file from internet then program hangs as long as it is busy and
does not respond to any Windows messages. Also Window will never be
refreshed b
When writing data to file or reading data stream directly from port or
downloading file from internet then program hangs as long as it is busy and
does not respond to any Windows messages. Also Window will never be
refreshed before work is done. All you know that.
This is not serious problem. B