Using dynamic linking instead of static linking offers several advantages. DLLs save memory, reduce swapping, save disk space, upgrade easier, provide after-market support, provide a mechanism to extend the MFC library classes, support multi-language programs, and ease the creation of international versions.
This article family provides detailed information on programming DLLs.
What do you want to know more about?
- The differences between Win16 and Win32 DLLs
- Run-time library behavior
- Using implicit linking
- LoadLibrary and AfxLoadLibrary
- Linker Support for the Delayed Loading of DLLs
- FreeLibrary and AfxFreeLibrary
- The search path used by Windows to locate a DLL
- Regular DLLs statically linked to MFC
- Regular DLLs dynamically linked to MFC
- Module States of a regular DLL dynamically linked to MFC
- Extension DLLs
- Using extension DLL,Database/OLE/Sockets in regular DLL
- Using __declspec(dllimport) and __declspec(dllexport)
- Importing and exporting inline functions
- Mutual imports
- Active Technology and DLLs
- Automation in a DLL
- Naming conventions for MFC DLLs
- Redistributable files
- Calling DLL functions from Visual Basic applications