Home All Groups Group Topic Archive Search About
Author
11 Jan 2007 12:23 PM
krishna
difference between dynamic-link libraries,static link libraries,exe files

Author
11 Jan 2007 2:39 PM
pvdg42
<krishna> wrote in message news:eVCGJtXNHHA.1248@TK2MSFTNGP02.phx.gbl...
> difference between dynamic-link libraries,static link libraries,exe files

Quickly found in Google:
<quote>
Dynamic-Link Libraries

  Dynamic-link libraries (DLL) are modules that contain functions and data.
A DLL is loaded at run time by its calling modules (.exe or .dll).
  When a DLL is loaded, it is mapped into the address space of the calling
process.


  DLLs can define two kinds of functions: exported and internal. The
exported functions can be called by other modules. Internal functions
  can only be called from within the DLL where they are defined. Although
DLLs can export data, its data is usually only used by its
  functions.


  DLLs provide a way to modularize applications so that functionality can be
updated and reused more easily. They also help reduce
  memory overhead when several applications use the same functionality at
the same time, because although each application gets its
  own copy of the data, they can share the code.
</quote>

Static linking, conversely, occurs at compile time.

Google is your friend. Try it.

AddThis Social Bookmark Button