You can create a resource library (a DLL) that contains resources used for your Dexterity-based application. A resource library is a standard Win32 DLL created with a development tool such as Microsoft Visual Studio®.
The following procedure describes how to use Visual Studio 2005 to create a resource library file that can be used by a Dexterity-based application.
If it isn’t running, start Visual Studio.
In the File menu, choose to create a new project.
In the New Project window, expand the C++ project types. Select Win32 as the type of project to create. Choose the Win32 Project template.
Specify the name and location for the new project.
Click OK to create the project. The Win32 Application Wizard will be displayed.
Click the Application Settings link to display the settings for the new project.
Specify DLL as the type of application to create. Click Finish to continue.
Select the Resource Files group in the Solution Explorer.
In the Project menu, choose Add Resource. The Add Resource window will be displayed.
In the Add Resource window, choose the type of resource you want to add. In the following example, Icon resources are being added.
Click New to create new resources of the specified type. Click Import to add resources of the specified type. For example, if you chose Icon as the resource type, you could import files of with the .ico extension.
Once a resource file has been added to the project, you can use the resource editor within Visual Studio to add additional resources to it. For example, the following illustration shows icons added to a resource file.
After the resources have been added, choose Build Solution from the Build menu. The resource library file contains the resources you added will be created.