DLLs and friends

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Sat Nov 24 12:22:42 PST 2012


thanks!


On Sun, Nov 25, 2012 at 12:08 AM, Ellery Newcomer <
ellery-newcomer at utulsa.edu> wrote:

> __declspec(dllimport): This symbol exists somewhere else. I [the linker]
> am going to try to pull it in from some library at [runtime? link time? I
> [ellery] don't remember]
>
> __declspec(dllexport): This symbol exists in this image. I [the linker] am
> going to make it available to other dlls and executables if they want to
> use it.
>
>            C                    D
> __declspec(dllimport) <-> export [apparently]
> __declspec(dllexport) <-> extern export **
>
>
> ** with dmd on linux, apparently __declspec(dllexport) <-> [nothing].
> Noticed this when trying to link to the python c api. But it could just be
> python isn't using dllexport.
>
>
>
>
>


-- 
Bye,
Gor Gyolchanyan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121125/a53bc9d8/attachment.html>


More information about the Digitalmars-d mailing list