O'Reilly logo

Component Development for the Java™ Platform by Stuart Dabbs Halloway

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A.5. Win32 Dynamic Link Libraries

Dynamic Link Libraries (DLLs) are the basic mechanism for component reuse in the Win32 family of operating systems. DLLs have been around much longer than Java or COM, so when I describe the DLL architecture as a component platform, I am fitting new terms to an old technology. While the goals of component programming are less fully realized in the DLL architecture, the key elements are still visible.

A.5.1. The DLL Loader

The loader architecture for DLLs is quite simple. First, call LoadLibrary to locate a binary by its name and location in the file system. Then, call GetProcAddress to locate a particular function entry point in the library, either by name or by ordinal (numeric address). Cast the result of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required