Hey all...

How do I use a resource file?

I'm playing around with OpenGL, and I wanna see if I can keep all the textures into a resource file so I can keep track of them.

I add them into a resource file, and when i do

fp = fopen(IDB_TOPTEXTURE)

or

fp = fopen("IDB_TOPTEXTURE")

It says "cannot be found"

I can't find any tutorials on howto use the resource thing either.

I included the resource.h header it makes

Thanks