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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SubashPosted Jul 3, 2016, 1:15 PM
Manoj BhoirPosted Jul 3, 2016, 12:42 PM
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.
Ehsan SajjadPosted Jul 3, 2016, 9:54 AM
SubashPosted Jul 3, 2016, 8:28 AM
Ehsan SajjadPosted Jul 3, 2016, 5:34 AM