Page 1 of 1

Issues in v5.10.4

Posted: Wed Mar 13, 2013 3:38 pm
by omegadog
In BIFF_CellFormats5.pas, XLSGetHashCode is not found.

Code: Select all

function TNumberFormats.FindValue(Value: WideString): integer;
var
  Hash: word;
begin
  if Value = '' then
    Result := 0
  else begin
    Hash := XLSGetHashCode(Pointer(Value)^,Length(Value) * 2);   // this function does not exist
    for Result := 0 to Count - 1 do begin
      if (ItemsByIndex[Result].FHash = Hash) and (ItemsByIndex[Result].FValue = Value) then
        Exit;
    end;
    Result := -1;
  end;
end;
In the same unit, it looks like

Code: Select all

Xc12Utils 
should be replaced with

Code: Select all

Xc12Utils5 , BIFFRecsII5,
The same is true for BIFF_Fonts5.pas

Re: Issues in v5.10.4

Posted: Wed Mar 13, 2013 3:44 pm
by larsa
Hello

The unit BIFF_CellFormats5.pas is not used anymore. When installing an update, always delete all old files first.