How do I create an embedded resource and then access it from C++?
Any example on how to read the resource would be great.
I am using Visual Studio 2005.
Add a resource (.rc) file to the project, put the resource description there. When building the project the resource compiler will compile the resource file and the linker will link the compiled resource file into the resulting executable module.
In runtime call FindResource(), then LoadResource() WinAPI functions.