From RAD Studio API Documentation
Jump to: navigation, search


dependent System::AnsiStringT<CP> & __cdecl LoadStringW(HINSTANCE__ * hInstance, int ident);


Type Visibility Source Unit Parent
function public dstring.h System AnsiStringT


Loads a string from the compiled resources of a specified module.

LoadStringW loads a specified string resource.

ident is the resource identifier of the string.

hInstance is the instance handle of the module that contains the string resource.

If the string resource does not exist, LoadStringW returns an empty string.

Moving display strings into string resources makes an application easier to localize without rewriting the program.

See Also