Shared libraries/DLLs
Unknown W. Brackets
unknown at simplemachines.org
Thu Jan 31 23:49:39 PST 2008
Thanks. Actually, I have no trouble whatsoever making dlls. I have a
problem referencing functions in the program that loaded the DLL.
It turns out (from something I'm read) what I want is simply not
possibly with DLLs. I will have to send a pointer table/struct over on
to the plugin for this to work the way I want.
Ain't Linux better? Oi.
-[Unknown]
Neal Alexander wrote:
> If the settings used in your .def file aren't particular the DLL doesnt
> work as expected. IIRC the def files in the digital mars DLL tutorial
> diddnt work for me when i first looked at it.
>
> maybe try this instead:
> -----------------------------------
> LIBRARY "x.dll"
> DESCRIPTION 'x.dll'
>
> EXETYPE NT
> CODE PRELOAD
> DATA PRELOAD
More information about the Digitalmars-d-learn
mailing list