We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.

What is a Dynamic Link Library?

John Lister
By
Updated May 16, 2024
Our promise to you
EasyTechJunkie is dedicated to creating trustworthy, high-quality content that always prioritizes transparency, integrity, and inclusivity above all else. Our ensure that our content creation and review process includes rigorous fact-checking, evidence-based, and continual updates to ensure accuracy and reliability.

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

Editorial Standards

At EasyTechJunkie, we are committed to creating content that you can trust. Our editorial process is designed to ensure that every piece of content we publish is accurate, reliable, and informative.

Our team of experienced writers and editors follows a strict set of guidelines to ensure the highest quality content. We conduct thorough research, fact-check all information, and rely on credible sources to back up our claims. Our content is reviewed by subject-matter experts to ensure accuracy and clarity.

We believe in transparency and maintain editorial independence from our advertisers. Our team does not receive direct compensation from advertisers, allowing us to create unbiased content that prioritizes your interests.

A dynamic link library is a system used by Microsoft to allow multiple applications to access the same section of code in Windows® at the same time. This is one of the keys to multitasking working effectively. In 2010, security researchers discovered that loophole in the way the dynamic link library system worked could be exploited by hackers. This led to a dilemma over how to fix it without affecting the usability of applications.

To understand the way a dynamic link library works, it's important to understand the difference between Windows® and software applications. Windows® is an operating system that exists largely to coordinate the way individual applications, also known as programs, access the computer's processing abilities. Windows® itself is ultimately a set of computer codes that effectively acts as the rulebook or guide for how applications interact with each other and with the hardware.

The dynamic link library is the system by which applications can access and run individual sections of Windows® code. One example would be the section of Windows® responsible for printing documents. Most applications need to access this feature at some point, but if every application loaded the relevant code into the computer's memory as soon as the application began running, it would be an inefficient use of resources and could cause conflicts.

To resolve this, the Windows® code for a particular function, in this case printing, is stored as a small program known as a dynamic link library or DLL file. If a user runs an application such as a word processor, this file is not automatically opened. Instead, the word processor only opens and activates the file as and when it is needed, in this case when the user wants to print a document.

Historically, many application developers simply wrote code that said what the name of the relevant dynamic link library was called, rather than specifying exactly where it should be located on the computer. To get around this, Windows® has a set system for locating missing DLL files by searching a set list of locations in a defined order. While this could theoretically be exploited if a malicious file disguised as a DLL file was put in the right place and thus found and opened before the legitimate file, this was not considered a major security risk as hackers would need physical access to a machine to get the malicious file in place.

In 2010, it was discovered that hackers could theoretically get such files in place via a remote connection: that is, over the Internet. This meant dozens of Windows® applications were vulnerable to attacks using this method. The security community was divided as to whether it was better for individual applications to be rewritten to specify the location of the legitimate DLL file, which relied on each developer taking action, or for Microsoft to change the way Windows® deals with such files, which could potentially cause applications to stop working properly.

EasyTechJunkie is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
John Lister
By John Lister
John Lister, an experienced freelance writer, excels in crafting compelling copy, web content, articles, and more. With a relevant degree, John brings a keen eye for detail, a strong understanding of content strategy, and an ability to adapt to different writing styles and formats to ensure that his work meets the highest standards.
Discussion Comments
John Lister
John Lister
John Lister, an experienced freelance writer, excels in crafting compelling copy, web content, articles, and more. With...
Learn more
EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.

EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.