[Lazarus] Lazarus setup file for Windows with FPC 2.4 or later?

Bo Berglund bo.berglund at gmail.com
Mon Oct 11 12:54:12 CEST 2010


  On 10/09/2010 11:33 PM, Bo Berglund wrote:
>          while FComm.TxWaiting>  16 do
>          begin
>            Application.ProcessMessages;
>            Sleep(1);
>          end;
Doing a busy loop for waiting on a serial port action is not good at 
all. You should use main-thread events fired by the serial unit for 
this. AsyncPro does a good job providing those.

-Michael




More information about the Lazarus mailing list