Well we already read the concept of DLL in my previous blog http://www.mindstick.com/Blog/488/What%20is%20a%20DLL and now i want to move on the next concept Advantages of DLL.
The following list describes some of the advantages that are provided when a program uses a DLL:
Uses less resources
When several programs use the same library of functions, a DLL can reduce the repetition of code which is loaded on the disk and in physical memory. This can greatly impact the performance of not just the program that is running in the foreground, but also other programs that are running on the Windows operating system.
Promotes modular architecture
With the help of DLL we can promoted the modular programs for developing. This helps also develop a large programs that require multiple language versions or a program that requires modular architecture. Now we can take an example of a modular program is an accounting program that has many modules that can be dynamically loaded at run time.
Eases 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, the multiple programs will all benefit from the update or the fix. This issue may more frequently occur when you use a third-party DLL that is regularly updated or fixed.