The Wayback Machine - https://web.archive.org/web/20120117055426/http://www.codeguru.com/cpp/w-p/dll/

    DLL

    An Easy Way to Make an MFC DLL

    Sometimes, you can't avoid writing your own DLL. This explanation takes some of the mystery out of the process.

    Create MySQL 5.1 Storage Engine Plugins Under Win32

    A MySQL Storage engine requires functions that MySQL provides. Therefore, you normally need to link it into mysqld-core under Windows because mysqld.exe doesn't export all required functions (because it's an .exe, not a .dll). So, you're unable to import the required functions in our Plugin. Learn a possible way to circumvent this limitation by using the .map files that are provided with MySQL.

    Determining Whether a DLL or EXE Is a Managed Component

    Learn how to check whether or not a component is a .NET managed component. Also, learn to get other information, such as dependent assemblies, from the metadata using Microsoft APIs and related COM interfaces.

    TBarCodeDLL—Board the Barcode Bandwagon

    Reap great benefits from barcode integration. The TBarCode DLL component is a barcoding solution you can use to print reports or stickers that will verify inventory when scanned.

    Library for MFC Applications' Localization Using Resource-Only DLLs

    Multilingual Library adds multiple UI languages' support to your MFC application.

    WinAPI Hooking

    Learn to intercept WinAPI calls.

    Hooking a DirectX/COM Interface

    Learn how to hook a DirectX/COM Interface. The DirectInput interface was used as an example of how to hook an interface function.

    Application's Version Updating from a FTP Resource

    Use the IOUpdate.dll library to automatically update your application from the Internet.

    [Updated] Multi Platform Plugin Development Made Easy!

    Learn how to develop and use multi platform plugins easily using the Simple Plugin Layer (SPL) Library.

    Tip: Detecting a HMODULE/HINSTANCE Handle Within the Module You're Running In

    You may have faced the challenge of detecting a HMODULE/HINSTANCE handle within a DLL module you're running.

    The Mixed DLL Loading Problem

    Microsoft announced a potentially serious bug that affects only Visual C++ developers using VS.NET 2002 and VS.NET 2003 to create mixed DLLs. While only a few may be impacted by this, all Visual C++ programmers should be aware of it.

    ResFile

    Read from the resources of a DLL or EXE file like reading from a normal CFile.

    Calling an Exported Function in an EXE from Within a DLL

    Explore a better way of calling a function in an exe file from a dependent DLL of the same EXE. (i.e.) Calling a DLL's function from an EXE is the normal way, this is the vise versa of the it.

    Utilizing Delphi Codes in VC Without Using a DLL

    This article demonstrates an approach to utilizing Delphi codes in VC applications by converting Delphi DLL into static libraries with DLL to Lib. So in this way you can distribute your apps without extra DLLs.

    Dialogs in DLL

    Dialogs in DLL

    Remote Library Loading

    Customize existing applications through use of custom DLLs and with "Remote Library Loading" and with a utility created here called the Remote Library Loader.

    Share the View/Doc Architecture in a DLL

    Learn how to help your applications share a large part of the their code. Do this by running MFC's View/Doc architecture (notably frame, controls, and dialogs) all from a shared DLL.

    Wrapper Classes for Dynamic DLL Loading

    A wrapper classes for dynamic DLL loading.

    Hijack Textout Calls From Notepad

    Sample hook function that works even if the DLL is loaded by calling LoadLibrary or the DLL isn't used by the hooked module directly.

    DLL_Callback: Sample for asyncronous inner-process operations.

    DLL_Callback: Sample for asyncronous inner-process operations.

    Who's Locking? v1.3

    Update of a devpt/system management tool to find which process is locking a DLL.

    APIHijack - A Library for Easy DLL Function Hooking.

    Enables you to hook third-party DLL functions

    Injecting a DLL into Another Process's Address Space

    Code to perform one standard method (DLL Injection) of API Hooking, or Interception

    CSelf XResource

    Class for self extracting binary resources