How to edit .rc file

alice alice 80 Reputation points
2025-01-08T03:23:05.77+00:00

Which edit IDE is recommend for .rc file https://github.com/chromiumembedded/cef ... /shared.rc

Simple edits can be done by hand (it’s a text file), or use Visual Studio for more complex edits like defining dialogs, etc. See https://learn.microsoft.com/en-us/cpp/windows/resource-editors?view=msvc-170

I don't know what is the .rc file language. It is not like python, c++,...

Is there a edit tool to generate the .rc file?

I try to git clone https://github.com/chromiumembedded/cef-project and follow

https://learn.microsoft.com/en-us/cpp/windows/resource-editors?view=msvc-170 to open Property page that is empty.

If you have the picture for using the cef project and step by step to show how to do it.

Thanks

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,338 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,818 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Minxin Yu 12,351 Reputation points Microsoft Vendor
    2025-01-08T07:15:44.31+00:00

    Hi, @alice alice

    rc file is Windows Resource Script.

    For more information, please read Resource-Definition Statements.

    1. Open developer command prompt -> use
      cmake .
    

    command in cef-project-master folder to generate Visual Studio Solution (cef.sln).

    1. open sln -> expand example folder -> find shared project
    2. Right click shared project -> Add existing item -> select win folder -> select all items in win folder.

    Now in resource view, you can edit the .rc file in visual style by double clicking.

    enter image description here

    And add resource

    enter image description here

    Best regards,

    Minxin Yu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.