DIP 45 - approval discussion

Walter Bright newshound2 at digitalmars.com
Fri Nov 15 00:22:11 PST 2013


On 11/15/2013 12:00 AM, Daniel Murphy wrote:
> "Walter Bright" <newshound2 at digitalmars.com> wrote in message
> news:l64imh$27na$1 at digitalmars.com...
>>
>> Also, at least on Windows, you can call functions in a DLL without saying
>> dllimport on them and suffering a layer of indirection. The magic happens
>> in the import library, which provides the relevant thunk. It's about 15
>> years since I worked on this stuff, so I might be a bit fuzzy on the
>> details.
>
> The symbol in the import library just translates to an import table
> indirection.

Yes, meaning the compiler doesn't have to do it if the import library is set up 
correctly. (implib.exe should do it.)



More information about the Digitalmars-d mailing list