TApxCharSetMapping.LoadFromRes

TApxCharSetMapping

procedure LoadFromRes(
  aInstance : THandle; const aResName : string);

Loads a set of keyboard mappings from a resource.

The name of the resource is given by aResName and the resource is to be found in the module instance given by hInstance. The resource must be in the binary format created by the StoreToBinFile method. If any error occurs during the load process, for example, the resource cannot be found or the resource is not in the correct format, the mappings are cleared. No exception is raised.