Issues in v5.10.4

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
omegadog
Posts: 10
Joined: Mon Jun 18, 2012 12:52 pm

Issues in v5.10.4

Post 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
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Issues in v5.10.4

Post by larsa »

Hello

The unit BIFF_CellFormats5.pas is not used anymore. When installing an update, always delete all old files first.
Lars Arvidsson, Axolot Data
Post Reply