lkml.org 
[lkml]   [1998]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: DLLs [OFFTOPIC]

On Thu, 16 Jul 1998, Chris Wedgwood wrote:

> On Thu, Jul 16, 1998 at 12:29:09PM +0530, Somnath Roy wrote:
> >
> > Hi,
> >
> > Is there any guideline for writing DLLs in Linux ?
>
> Shared libraries? ELF?
>
> Get the libc source and look at the makefile(s).
>
>

I think the question was more directed towards the late binding
aspects of DLLs. Shared ELF libraried are bound to an executable
at link time. DLLs can be bound at link time (similar to the shared
library) or they can be loaded (under Windows anyway) with calls to:

CoLoadLibrary(char * lpszLibName, unsigned long bAutoFree);
CoFreeLibrary(long hInst);
CoFreeUnusedLibraries(void);

This facilitates certain types of programming. The question then
was probably, what Linux APIs can be used for late binding of a
library (comparable to the above mentioned windows APIs).

I don't know the answer, and this is off topic, but I would be
interested in knowing the answer as well.

-Erik

--
Erik B. Andersen Web: http://www.inconnect.com/~andersen/
email: andersee@debian.org
--This message was written using 73% post-consumer electrons--




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.051 / U:3.204 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site