Create a Resource-Only DLL

HomeOverviewHow Do IFAQDetailsSample

A resource-only DLL is a DLL that contains nothing but resources, such as icons, bitmaps, strings, and dialog boxes. Using a resource-only DLL is a good way to share the same set of resources among multiple programs.

To create a resource-only DLL, you create a new Win32 DLL (non-MFC) project and add your resources to the project.

The application that uses the resource-only DLL should call LoadLibrary to explicitly link to the DLL. To access the resources, call the generic functions FindResource and LoadResource, which work on any kind of resource, or call one of the following resource-specific functions:

The application should call FreeLibrary when it is finished using the resources.

What do you want to know more about?