[Lazarus] Threads and Libraries (dll and so)
Michael Schnell
mschnell at lumino.de
Fri Jan 17 14:23:23 CET 2014
On 01/17/2014 01:25 PM, Marcos Douglas wrote:
> is better not use global variables in the DLL.
Of course I agree.
A reason for using global variables in a DLL might be to access that
value as well in the DLL as in the main program.
Is this even possible ?
(To allow for this loading the DLL would need to modify the variable's
address anywhere within the DLL code. Up til now I only know about the
the "jump table interface" that allows the main code to call DLL
functions. )
-Michael
More information about the Lazarus
mailing list