Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dll And Lib Files

Status
Not open for further replies.

skrishna

Programmer
Aug 8, 2001
2
PH
Please explain to me what is dll's and lib files. What is the difference between them.
 
Typically, shared library for unix contains both
executable and link informations. But Windows
shared library (DLL) only contains executable
informations so linker for Windows generates
informations for linking and it is called
import library which has 'lib' extension.
Or static library also has 'lib' extension.

If you wanted to know differences between
shared library and static library, executable
informations for shared library can be dynamically
loaded in execution time and its codes can be
shared for all programs which uses it. So
the size of executable file and memory occupied
by the shared 'code' are decreased if a shared
library is used. But if static library is used,
only needed functions or symbols are linked but
a routine contained in an executable file cannot
be shared by another program.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top