Tutorial: Page (1) of 3 - 11/08/01 Email this story to a friend. email article Print this page (Article printing at MyDmn.com).print page facebook

How to compile BMP files to one single DLL file

By Arthur Shao
By using a dll file instead of bmp files for your toolbar icons, you can banish smiley faces forever. The C++ compiler is a free download from Microsoft's website. This tutorial is not for the weak of heart....for advanced users ONLY.

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 .rc from the list of bitmaps.

SCAD0001 BITMAP DISCARDABLE "ICON0001.BMP"
SCAD0002 BITMAP DISCARDABLE "ICON0002.BMP"
...
("SCAD" is an example name)

3. Create the linker definition file .def

LIBRARY

Page: 1 2 3 Next Page


Related Keywords:DLL, BMP, CAD

HOT THREADS on DMN Forums

Our Privacy Policy --- @ Copyright, 2015 Digital Media Online, All Rights Reserved