DIP45: fixing the dllimport/dllexport issue

Rainer Schuetze r.sagitario at gmx.de
Fri Aug 30 03:50:39 PDT 2013



On 29.08.2013 21:09, Martin Nowak wrote:
> On 08/29/2013 08:30 PM, Rainer Schuetze wrote:
>> I meant the import part. How are accesses or data references to data
>> inside another shared library implemented?
>
> References from the data segment use absolute relocations.

Just remembered that we don't have that in Windows, so if we want to 
mimick what C++ does, we'll have to generate initialization-code to be 
run at startup to fill in the proper pointers from the import table.


More information about the Digitalmars-d mailing list