I'm learning win32 programming this days (c++),I'm wondering what programming language is used in resource(.rc) files? and where can I find a complete reference to this language?
Rc files are language files used to localize translatable text, dialogs, menus, for Windows applications. The file extension is . rc . WebTranslateIt can help localize Microsoft .
A resource file is a text file with the extension . rc. The file can use single-byte, double-byte, or Unicode characters. The syntax and semantics for the RC preprocessor are similar to those of the Microsoft C/C++ compiler. However, RC supports a subset of the preprocessor directives, defines, and pragmas in a script.
To create a resource script fileIn the menu, go to Project > Add New Item. Select the Visual C++ folder and choose Resource File (. rc) in the right pane. Provide a name for your resource script file in the Name text box and select Open.
Resource (.rc
) files are not written in a programming language per se (you can't write loops or conditionals, for example). However, the .rc
file format is thoroughly documented by Microsoft at About Resource Files.
It's "Windows Resource Script", and there is a reference here: Resource-Definition Statements
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With