Binary Resource Loading

I have a relatively simple question to ask:
Let's say I want to load a file in memory:
I have two ways: Taking another file with me, or using resources.
This time I want to try using resources. I already got to compile resources in my executable, but how can I load a resource? Let's say it's a Text File and I want to output it to a Console Window, but I don't want it to be text-only (I will probably use Resources to store Audio Files, let's say MP3, and I already have all the code for it and got it running with Bin2h, but whenever I edit that file, I have to reconvert the file and it will become a long job with lots of file...).
Is there any official way of doing it, besides using Bin2h?
Use LoadResource() (http://msdn.microsoft.com/en-us/library/windows/desktop/ms648046(v=vs.85).aspx ) and then LockResource() to obtain a pointer to the first byte. Obtain the length of the resource using SizeofResource().
Ok, all I needed was the "LockResource". Thank you!
Well, to users who are willing to read this topic:
I had to:
1. FindResource
2. LoadResource
3. LockResource
But it works anyways.
Topic archived. No new replies allowed.