This directive includes a resource in the binary. The argument to this directive is the resource to include:
{$R icons.res}
|
Will include the le icons.res as a resource in the binary. Currently resources are supported only for Windows (native resources are used) and for platforms using ELF binaries (linux, BSD).
The asterix can be used as a placeholder for the current unit/program lename:
unit myunit;
{$R *.res} |
will include myunit.res.