[fpc-pascal] Best way to transfer data between applications?
Jonas Maebe
jonas.maebe at elis.ugent.be
Thu Nov 1 11:53:51 CET 2012
On 01 Nov 2012, at 10:36, Sven Barth wrote:
> On 01.11.2012 03:30, Noah Silva wrote:
>> Background threads not being able
>> to touch the GUI, etc. makes it all but useless for many purposes.
>
> That you can't access the GUI is not a problem of FPC, but a design decision of the LCL (or better: the VCL which it is based upon).
Or even better: the graphical toolkit the LCL is based on. E.g. on Mac OS X, Carbon requires that GUI manipulations happen from the main thread. Cocoa is more lenient, but even that one has a lot of restrictions and caveats when interacting with the GUI or graphics from secondary threads. Of course, the LCL can/could try to hide this from the programmer at the expense of a bunch of overhead.
Jonas
More information about the fpc-pascal
mailing list