Show: Delphi C++
Display Preferences

Delphi Resource String File (*.drc)

From RAD Studio
Jump to: navigation, search

Go Up to File Types Index


When you build a Delphi project, RAD Studio generates a Delphi resource string file if your project meets any of the following conditions:

  • The Output resource string .drc file option in Project > Options > Delphi Compiler > Linking is true.
  • You are building your project for 32-bit Windows, 64-bit Windows, OS X, or iOS Simulator, and the value of the Map file option in Project > Options > Delphi Compiler > Linking is "Detailed".
  • You are building your project for 32-bit iOS Device or 64-bit iOS Device and the value of the Map file ARM option in Project > Options > Delphi Compiler > Linking is "map file and .drc file".

When you build a C++ project, RAD Studio generates a Delphi resource string file if the Generate .drc file option in Project > Options > C++ Linker is enabled.

Your Delphi resource string file contains the resource strings of your project.

When you build your project, your Delphi resource string file is generated by default as <package>.drc into the following folder:

  • In packages:
    • For 32-bit Windows: C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl
    • For other platforms in Delphi and 64-bit Windows in C++: C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl\<platform>
    • For other platforms in C++: C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl\<platform>\<build configuration>
  • In other projects: C:\Users\<user>\Documents\Embarcadero\Studio\Projects\<project>\<platform>\<build configuration>

To change the output directory:

  • In Delphi, use the Package output directory option in Project > Options > Delphi Compiler.
  • In C++, use the Final output directory option in Project > Options > C++ (Shared Options).

See Also

Personal tools
RAD Studio 10.2 Tokyo
In other languages
Previous Versions
Assistance