function TRegistry.ReadBool(const Name: string): Boolean; begin Result := ReadInteger(Name) <> 0; end;