PDA

View Full Version : How do I load a bitmap from a resource?



Robbo
11-24-2001, 02:28 PM
At present I'm loading from the file-system (windows) using the code below:

AUX_RGBImageRec *pBMP = auxDIBImageLoad ( pFilePath );

However, I'd like to pack some images into my resources (company logo), but don't really want to mess around with DIBs which are an absolute pain in the bum. Any library available that will allow me to load from a resource (as quick and easy as auxDIBImageLoad) ?

Thanks for any help you can give me.