System.LoadResString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function LoadResString(ResStringRec: PResStringRec): string;

C++

extern DELPHI_PACKAGE UnicodeString __fastcall LoadResString(PResStringRec ResStringRec);

Properties

Type Visibility Source Unit Parent
function public
System.pas
System.hpp
System System

Description

Loads a string from a resource.

Call LoadResString to load a string from a resource. The ResStringRec parameter is a pointer to a TResStringRec structure, which defines the module and the identifier of the resource string to be loaded. If the string is found, LoadResString returns the loaded string, otherwise an error can occur.

See Also