Name

FindResourceHInstance Function

Syntax

function FindResourceHInstance(Instance: LongWord): LongInt;

Description

If you have resources that need translation, especially string resources, you can use Delphi’s localization tools to build language-specific resource DLLs. Call FindResourceHInstance to obtain the instance handle of the resource DLL. Pass the instance handle of the module that contains the unit (usually HInstance). If the module has no resource module, FindResourceHInstance returns the module’s instance handle. In either case, use the instance handle that FindResourceHInstance returns to load language-specific resources.

Delphi automatically loads localized resources from the language DLL, so you do not usually need to call FindResourceHInstance. If you have customized the language DLL and added other resources, you can call this function to load your extra resources.

FindResourceHInstance is a real function.

See Also

FindClassHInstance Function, FindHInstance Function, HInstance Variable, LoadResourceModule Function
..................Content has been hidden....................

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