Open kazuser opened 2 months ago
How to open a password-protected *.xlsx?
var Li: integer; Lu: TAbUnZipper; begin Lu := TAbUnZipper.Create(nil); try Lu.ArchiveType := atZip; Lu.ForceType := true; Lu.FileName := FFile; Lu.Password := FPass; for Li := 0 to Lu.Count - 1 do Memo1.Lines.Add(Lu.Items[Li].FileName); finally Lu.Free; end; end;
Without a password the file opens ok:
... but with a password it crashes with an error :(
Project1.zip
Test.xlsx
Pass: 123
How to open a password-protected *.xlsx?
Without a password the file opens ok:![image](https://github.com/TurboPack/Abbrevia/assets/3335273/046c503c-d1d9-4b11-b8b6-a5d99c2aca3d)
... but with a password it crashes with an error :(![image](https://github.com/TurboPack/Abbrevia/assets/3335273/968bda52-c60c-4eb6-b807-e15b4e102187)
Project1.zip