What is DLL

What is DLL

DLL - abbreviation from Dynamic Link Library ("Dynamically connected library" from English). The dynamic library of resources and subprograms allows you to use previously written modules many times. The bibliotela file may include, for example, procedures, icons. It is necessary for the operation of Windows operating systems.

1
The library in programming is a collection of programs that can be addressed when developing software. The set of small programs is dynamically in large when calling as an integral part. The advantage of the DLL file is that it does not occupy RAM, but is loaded when necessary during operation (Run-Time), which can significantly save RAM.

2
The DLL program can work with devices: printer, scanner. When working with text in MS Word, there is no need for the constant presence of a DLL printer. If the document is printed, then MS Word addresses the dynamic library and calls the corresponding DLL printer program.

2014-12-19 22-32-12 Screenshot screenshot

3
A set of dynamic subprograms can be simultaneously used in several working programs - this is another plus. That is why they are still called the "public library." The bottom line is that only one copy of the dynamic library is loaded in the RAM, and all the programs are currently acting at the moment. Which also leads to saving the resource of RAM.

4
In addition to critical-nullipers, additional functions are stored in the DLL library. They can be used as a plugin (plug-in), thereby multiplying the functionality of the program. The lack of the desired module in the DLL library makes the work of the main program impossible. This is a negative quality of the dynamic library.

2014-12-19 21-50-19 screen screenshot

5
Files from the dynamic library have a standard extension in each operating system: in OS/2 and MS Windows - “.dll”; Mac OS - ".dylib"; Unix - ".So". Such files are stored in a particular place. For example, in System32. The programmer when writing an application indicates the name of the desired function and the name of the library in which it is located. The subprogram code itself in the original text is not written, which greatly simplifies the programming process. This principle is based on the previously popular modular coding. Simple programs were designed as separate modules, which allowed you not to write them each time again, but to include a compiled module in the new program in the new program code.

2014-12-19 21-53-06 Screenshot Scree

6
In addition to the executable code of procedures and functions in the dynamic library, you can store graphic and video files. Their use allows you to save not only RAM, but also disk space. Numerous advantages of the DLL library do not reduce one drawback - additional time is required to load modules. Their advantages are obvious, therefore they are everywhere used by programmers in almost every program.

2014-12-19 22-02-01 Screenshot screenshot

Be very careful when working: never change the extension of “.dll” to another, do not transfer these files to another folder. If the file is awarded the suffix "Dll \u200b\u200b", then this will not change its type. A special application is required for converting. Most often, Windows errors are associated precisely with the absence of the desired file “.dll”.

Add a comment

Your e-mail will not be published. Mandatory fields are marked *

close