bitmaps

Hello,
I am looking for documentation for loading a bmp that is in the resources of my program, for visual c++. I want to use that bmp as a texture but I don’t want to use glaux like NeHe does in his tutorial.

if you have your bitmap as a resource, I think there is a function called LoadBitmap that will load a bitmap from a resource.