[Lazarus] Threads and Libraries (dll and so)

Sven Barth pascaldragon at googlemail.com
Fri Jan 17 18:25:34 CET 2014


Am 17.01.2014 17:58 schrieb "Michael Schnell" <mschnell at lumino.de>:
>
> On 01/17/2014 05:47 PM, Marcos Douglas wrote:
>>
>> I said: IMHO, not only "programmers around the world"... so, for me is
not a "received wisdom", but a lesson learned. ;-)
>
> Unfortunately Lazarus uses global variables in the LCL. Otherwise it
would be possible to create a project with a TApplication instance per
thread and have it run with multiple simultaneous GUIs.

Wouldn't help much, because e.g. Qt does not allow usage of GUI widgets in
multiple threads.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140117/8dfcc17f/attachment-0003.html>


More information about the Lazarus mailing list