Hello.
I allready have a premade function to load TARGA files for me, from files on the disk.

The function works with the TARGA using the following:
FILE file=Open(thefilename);

I want to load it from the resource instead, without to change the FILE type, so i dont need to change the whole function.

So to be clear: Can someone show me a example of how to load a TARGA file from the resource which is added with your program, into a FILE variable?