Shared libraries/DLLs

Unknown W. Brackets unknown at simplemachines.org
Fri Feb 1 07:17:36 PST 2008


Well, the def being for the library, not for the program loading the 
library.  Otherwise I don't get exports named properly, etc.

-[Unknown]


Jarrett Billingsley wrote:
> "Unknown W. Brackets" <unknown at simplemachines.org> wrote in message 
> news:fnuiqt$ags$1 at digitalmars.com...
>> Thanks.  Actually, I have no trouble whatsoever making dlls.  I have a 
>> problem referencing functions in the program that loaded the DLL.
> 
> You shouldn't need a .def file at all for this program.  In fact, you should 
> be able to compile the app the same way you compile any other app.  That it 
> loads a dynamic library at runtime means nothing to the compiler/linker.
> 
>> Ain't Linux better?  Oi.
> 
> DLLs are a pretty awful approximation of SOs, yes. 
> 
> 


More information about the Digitalmars-d-learn mailing list