To compile the resource script file EXAMPLE.RC, and add the result to the executable file EXAMPLE.EXE, use the following command:
rc example
You do not need to specify the .RC extension. RC creates the binary resource file EXAMPLE.RES and adds the compiled resource to the executable file EXAMPLE.EXE. To compile the resource script file EXAMPLE.RC into a binary resource file without adding the resources to an executable file, use the following command:
rc -r example
The compiler creates the binary resource file EXAMPLE.RES. To create a binary resource file that has a name different from the resource script file, use the following command:
rc -r example newfile.res
To add the compiled resources in the binary resource file EXAMPLE.RES to an executable file, use the following command:
rc example.res
To specify the name of the executable file, if the name is different from the resource file, use the following command:
rc example.res newfile.exe
To add the compiled resources to a dynamic-link-library (.DLL) file, use the following command:
rc example.res dynalink.dll
![]()
![]()
Resource
Compiler - An Overview
Resource Compiler - An
Overview
![]()
![]()
Resource Compiler -
Syntax
Resource Compiler -
Syntax
![]()