Dynaminc linked libaries
How to create .dll files?and what is the use of .dll files?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ehsan SajjadRank #512 · 4.8K reputationPosted Jul 3, 2016, 1:34 AM EDT
SubashRank #468 · 5.3K reputationPosted Jul 3, 2016, 4:28 AM EDT
Ehsan SajjadRank #512 · 4.8K reputationPosted Jul 3, 2016, 5:54 AM EDT
Manoj BhoirRank #599 · 4K reputationPosted Jul 3, 2016, 8:42 AM EDT
Advantages of DLL
Given below are a few advantages of having DLL files.
Uses fewer resources
DLL files don't get loaded into the RAM together with the main program; they don't occupy space unless required. When a DLL file is needed, it is loaded and run. For example, as long as a user of Microsoft Word is editing a document, the printer DLL file is not required in RAM. If the user decides to print the document, then the Word application causes the printer DLL file to be loaded and run.
Promotes modular architecture
A DLL helps promote developing modular programs. It helps you develop large programs that require multiple language versions or a program that requires modular architecture. An example of a modular program is an accounting program having many modules that can be dynamically loaded at run-time.
Aid easy deployment and installation
When a function within a DLL needs an update or a fix, the deployment and installation of the DLL does not require the program to be relinked with the DLL. Additionally, if multiple programs use the same DLL, then all of them get benefited from the update or the fix. This issue may occur more frequently when you use a third-party DLL that is regularly updated or fixed.
Applications and DLLs can link to other DLLs automatically, if the DLL linkage is specified in the IMPORTS section of the module definition file as a part of the compile. Else, you can explicitly load them using the Windows LoadLibrary function.
SubashRank #468 · 5.3K reputationPosted Jul 3, 2016, 9:15 AM EDT