Open up your project's RC2 file (usually projname/res/projname.rc2) in a text editor. Add a line
[tt]IDR_identifier DATA "filename"[/tt]
I think that's right. Note that filename is relative to the project root directory, not the res subdirectory.
You can obtain a handle to the resource with the FindResource API. You can load the resource with the LoadResource API. Then use the LockResource API to obtain a pointer to the memory where the resource is loaded.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.