Libraries: Difference between revisions

Content added Content deleted
m (More wikiformatting)
m (Run time link)
Line 2: Line 2:


=Dynamically-linked Libraries=
=Dynamically-linked Libraries=
Dynamically-linked libraries are libraries that are contained in a file separate from an application's primary executable, and are loaded at [[run-time]]. This has the benefit of allowing multiple programs use of the same code both on disk and in memory, saving space. It also allows a program to load additional, optional or interchangeable portions of itself into memory at runtime.
Dynamically-linked libraries are libraries that are contained in a file separate from an application's primary executable, and are loaded at [[run time|run-time]]. This has the benefit of allowing multiple programs use of the same code both on disk and in memory, saving space. It also allows a program to load additional, optional or interchangeable portions of itself into memory at runtime.


On Windows, these files are known as, naturally enough, as '''Dynamically-Linked Libraries''', from which their file extension '''DLL''' is derived.
On Windows, these files are known as, naturally enough, as '''Dynamically-Linked Libraries''', from which their file extension '''DLL''' is derived.