DIP45: fixing the dllimport/dllexport issue

Kagamin spam at here.lot
Wed Sep 11 07:40:46 PDT 2013


On Tuesday, 3 September 2013 at 07:02:33 UTC, Rainer Schuetze 
wrote:
> 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.

Well, yes, static initialization is problematic, but you can have 
statically initialized pointer to an imported function, which is 
the same problem.


More information about the Digitalmars-d mailing list