texture mapping with resource bitmaps

i know it is an easy task to read in a bitmap file for texture mapping, but what i want to do is to use a bitmap that is a resource of the project (VS 6.0 MFC). this way, i can bind the bitmap to the executable instead of having a bitmap as separate file and loaded at runtime.