What exactly are Dynamic Link Libraries?

Tutorials | Nov 18, 2017 | Master3395

Dynamic Link Libraries or DLLs (.dll) are the shared libraries within Microsoft’s Windows operating systems. All Windows DLLs are encoded in the Portable Executable (PE) format, which is the same format as executable (.exe) files. These libraries are loaded into an application at runtime, when the program is executed and remain in their predetermined file location.

A DLL contains functions, classes, variables, UIs and resources (such as icons, images, files, …) that an EXE, or other DLL uses. Each DLL can be dynamically or statically mapped into the application’s memory space so the DLL’s functions are accessible by the application without having to access the DLL on disk. When a DLL is dynamically mapped, the application is loaded by the application when the application is executed.

An important advantage is that dynamically linked libraries can be updated to fix bugs or security problems and the applications that use them can immediately access the fixed code. When the DLL is statically compiled into the application, the functions from the DLL are copied into the application binary. This enables programmers to link libraries while compiling and eliminates the requirement for additional copies of the same libraries or plug-ins.

It is important to point out one specific DLL: Kernel32.dll is a user-mode function that handles input/output, interrupts, and memory management. This DLL is important to point out because many people believe the DLL resides in the kernel—it does not reside in the kernel, although the name may suggest it does; it works with User32.dll in userland.

Keywords: Dynamic, Link, Libraries, DLL

Author: Master3395


comments powered by Disqus

Page 1 of 356  >  >>

iPhone gets USB C this year


Jan 19, 2019 | Category: Apple | Comments

And the new iPod Touch is actually underway.

If the rumors are true, the iPod Touch series will get a newcomer if not too long: Apple says, according to several sources, what is being the seventh generation of the iPod Touch that over the years has been loved by many.

read more…

Microsoft's new OS revealed


Jan 18, 2019 | Category: Microsoft | Comments

read more…

The countdown has started for Windows 7


Jan 17, 2019 | Category: Microsoft | Comments

Microsoft will stop free support by 2020.

It has been known for a long time that the official support for Windows 7 is nearing the end. January 14, 2020, is the date, then Microsoft will no longer provide free support to users of this OS and security updates will stop. You will still be able to use Windows 7, but in many ways, you will be left to yourself, at your own risk.

read more…

Page 1 of 356  >  >>