How to Embed/Link binary data into a Windows module

  1. Right click the resource script (.rc file)
  2. Choose Import

http://msdn.microsoft.com/en-us/library/saced6x2.aspx

You can embed any “custom” file you want, as well as things like .bmps and stuff VisualStudio “knows” how to edit. Then you can access them with your framework’s resource functions like FindResource LoadResource etc…

If you don’t have a resource script.

  1. Click Project
  2. Add New Item
  3. Resource Script

http://msdn.microsoft.com/en-us/library/sxdy04be(v=VS.71).aspx

Leave a Comment