Name

LoadResString Function

Syntax

function LoadResString(Rec: PResStringRec): string;

Description

The LoadResString function loads a string resource. When you declare a string with the resourcestring keyword, Delphi automatically creates a string table resource and assigns a unique identifier to the string. The compiler generates code to call LoadResString to look up the string, given the resource identifier.

LoadResString is a real function.

Tips and Tricks

Delphi handles the string resource automatically, so you have no reason to call this function. If you must, you can pass the address of a resourcestring identifier as the argument.

See Also

LoadResourceModule Function, PResStringRec Type, ResourceString Keyword, TResStringRec Type
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset