How to compile BMP files to one single DLL file
Tools: C or C++ compiler for Windows
Windows Driver Development Kit
1. Create the list of bitmaps.
"ICON0001.BMP"
"ICON0002.BMP"
...
2. Create the resource definition file
SCAD0001 BITMAP DISCARDABLE "ICON0001.BMP"
SCAD0002 BITMAP DISCARDABLE "ICON0002.BMP"
("SCAD" is an example name)
3. Create the linker definition file
LIBRARY
4. Create the resource file: (Use C or C++ Compiler)
RC -r
5. Create the DLL file: (Use Windows DDK)
LINK /nodefaultlib /DLL /MACHINE:IX86 /DEF:
/OUT:
6. Edit the file
Existing: [_Button("TEST", "ICON0001.BMP", "ICON0001.BMP")]^C^CTEST
New: [_Button("TEST", "SCAD0001", "SCAD0001")]^C^CTEST
7. Move all BMP files and reload the menu.