[Lazarus] Strange dependency of units

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Thu Apr 5 14:37:25 CEST 2012



On Thu, 5 Apr 2012, Michael Schnell wrote:

> On 04/05/2012 02:05 PM, Hans-Peter Diettrich wrote:
>> AFAIR there exists a noGUI widgetset, which implements the message 
>> processing (for Timer...) in a non-GUI application. 
> Last time I checked the noGUI Widget Type did not support TTimer or 
> Thread-generated Events (e.g. TThread.Synchronize(), 
> TApplication.QueuAsyncCall() ) which both are essential to construct event 
> driven applications
>

TThread.Synchronize works perfectly in any kind of application outside of
the LCL.

The main thread just has to call CheckSynchronize at regular intervals.
(which is what the LCL does for you).

Michael.




More information about the Lazarus mailing list