Runtime Dynamic Linking

Although runtime dynamic linking overcomes the limitations of loadtime dynamic linking, it does requires more work on the part of the application. Rather than specify at compile time the DLL procedures that an application wants to use, the application uses the LoadLibrary, LoadLibraryEx, GetProcAddress, and FreeLibrary functions to specify at runtime the names of the DLLs and procedures that it wants to reference.

Runtime dynamic linking also allows an application to provide support for functionality that is not available when the application is created. For example, a word processing application can provide conversion routines inside DLLs that convert between different file formats. If runtime dynamic linking is used, ...

Get Microsoft Windows 2000 API SuperBible 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.