Andreas,
> yes, i am using loops to process incoming data. Just like > > > FCom.Putblock() > repeat > application.processmessages; > until Allreceived or timeout; > > What can I do then, to get it work correctly?
Since you have application.processmessages in your loop, the loop itself should not be the problem.
Is this loop in an AsyncPro event handler or in a routine that is called from an AsyncPro event handler? The fact that the output is delayed by two seconds seems to indicate something like that might be the issue.
-- Regards, Paul Breneman http://www.TurboControl.com http://www.turbocontrol.com/TPSupport.htm - TurboPower support links