Chapter 21. Dynamic-Link Libraries

Dynamic-link libraries (also called DLLs, dynamic libraries, “dynalink” libraries, or library modules) are one of the most important structural elements of Microsoft Windows. Most of the disk files associated with Windows are either program modules or dynamic-link library modules. So far we’ve been writing Windows programs; now it’s time to take a stab at writing dynamic-link libraries. Many of the principles you’ve learned in writing programs are also applicable to writing these libraries, but there are some important differences.

Get Programming Windows®, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.