|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Creating a New Resource Script File
This material applies to Win32-based applications. Projects in .NET languages do not use resource script files. See Resource Files, for more information.
To create a new resource script (.rc) file
Put focus on your existing project folder in Solution Explorer, for example, "MyProject."
Don't confuse the project folder with the Solution folder in Solution Explorer. If you put focus on the Solution folder, your choices in the Add New Item dialog box (in Step 3) will be different.
On the Project menu click Add New Item.
In the Add New Item dialog box, click the Visual C++ folder then choose Resource File (.rc) in the right pane.
Provide a name for your resource script file in the Name text box, then click Open.
You can now create and add new resources to your .rc file.
You can only add a resource script (.rc file) to an existing project that is loaded into the Visual Studio IDE. You cannot create a standalone .rc file (one outside the project). Resource templates (.rct files) can be created anytime.