Name

TResStringRec Type

Syntax

type
  TResStringRec = packed record
    Module: ^LongInt;       // resource module
    Identifier: Integer;    // string table resource identifier
  end;

Description

Delphi compiles a resourcestring declaration into a TResStringRec record and a call to LoadResString. The Module points to the handle of the resource module that contains the string table resource, and the Identifier is the resource identifier for the string resource. The linker automatically assigns a unique identifier to each resourcestring.

See Also

LoadResString Function, PResStringRec Type, ResourceString Keyword

Get Delphi in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.