On 03.09.2013 08:17, Kagamin wrote:
On Friday, 30 August 2013 at 10:50:40 UTC, Rainer Schuetze wrote:
Just remembered that we don't have that in Windows
Why? What's the difference between code and data symbols? I thought,
they're just addresses.
Inside an executable/DLL image, all relocations are relative to the
image itself, only the import table has references to other DLLs.
To initialize data with a pointer into another DLL, you cannot do that
with a direct relocation, you have to run some code to copy the value
from the import table into the data.
Accessing data or functions in another DLL from code already has this
extra code compiled in.