Monday, 15 July 2013

visual studio - Is there an easy way to add multiple resources to a Win32/C++ project? -


Does it easily add more than one file / resource to an existing Win32 / C ++ project? I can currently add a resource at a time, maybe there is a script I can use?

thanks :)

Multiple Solutions

  1. Open each resource file in Visual Studio. You can copy & amp; Paste, drag and drop
  2. Use a text editor and merge files. In this case you have to keep in mind the different IDs in the header.
  3. Just use a central RC file and use #include to merge all the files in one. To document this, you can convert your RC files into Type RC.

In addition to Method 1. You may have problems with duplicate resource IDs There is a resource rating tool in the web that can help you here.


No comments:

Post a Comment