Async in TTask

Hi,
is it possible use the VaComm component in a Delphi TTask (or a Thread different from the Main form) that do not have it's own windows message loop ?

Regards

TMS Async needs to Windows message loop as it is via the Windows message loop that there is notification when new data is received on the COM port.
TMS Async internally uses threading to avoid any blocking calls or UI freezing, so there shouldn't be a need to use this in a TTask.

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.