Afficher un message
Vieux 18/10/2007, 11h49   #2
jacob navia
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: static library and dynamic library

Even wrote:
> Hi all,
>
> As far as I know, relative address will be assigned by program at link
> time.Right? Ok, here we go.
>
> So if we use a static library, it will give the program an relative
> address(i mean the function address) at link time.
> Also the code of the library will load into the program. Go on.
>
> Now if we use a dynamic library, what it will give the program?
> A symbolic? or Address ?
>
> if it is a symbolic, when does the symbolic change to an address? and
> How does it load its code to the program?
>
>
> Thanks
> Even
>


Under the windows system, dynamic link libraries are
relocated to some address at load time. The linker
produces a relocation table that allows loading the
library at any address

--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32
  Réponse avec citation
 
Page generated in 0,05840 seconds with 9 queries