Link to home
Start Free TrialLog in
Avatar of Stef Merlijn
Stef MerlijnFlag for Netherlands

asked on

Load bitmap from RES, DLL or EXE

Hi, I need to load bitmaps from resourcefile (PRGImages.res)?
After loading the bitmap it must be assigned to SpeedButton1.Glyph.

Or what is the fastest and good way to set this up?
       1. add bmp's to a RES?
       2. add bmp's to the EXE?
       3. add bmp's to a DLL?

The RES-file (option 1) I already have (PRGImages.res with 3 bmp 16x16).
Options 2 and 3 should also include the way to add the bmp's into the EXE or DLL.

I would prefer some code (f.e. project).

Thanks a lot for your help. Stef
ASKER CERTIFIED SOLUTION
Avatar of alikoank
alikoank

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of alikoank
alikoank

there is also a nice article about embedding resources into executables at:

http://www.howtodothings.com/showarticle.asp?article=288