FindResourceHInstance Function
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.