Hi,
Thank you for the nice component.
Using Windows 10
Google drive
ONLYOFFICE Desktop Editors version 7.4.0.163 (x64 exe)
Embarcadero Delphi 10.4 Version 27.0.40680.4203
Using the example
32-bit debug build code
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Excel4Delphi, Excel4Delphi.Xml, Excel4Delphi.Stream,
Vcl.StdCtrls;
procedure TForm1.Button1Click(Sender: TObject);
var
workBook: TZWorkBook;
begin
workBook := TZWorkBook.Create(Self);
try
workBook.LoadFromFile('file.xlsx');
workBook.Sheets[0].CellRef['A', 0].AsString := 'Hello'; // error here
workBook.Sheets[0].CellRef['A', 0].FontStyle := [fsBold];
workBook.SaveToFile('file.xlsx');
finally
workBook.Free();
end
end;
I get this error
First chance exception at $006C1E9E. Exception class $C0000005 with message 'access violation at 0x006c1e9e: read of address 0x00000000'. Process Test.exe (12712)
Can reproduce
- Create file.xlsx using Google sheets then download
- Run button click code
- Open in OnlyOffice (A1 contains Hello in bold as expected)
- Save the file in OnlyOffice
- Close OnlyOffice
- Run button click code causes the error
Any sugestions?
Hi,
Thank you for the nice component.
Using Windows 10
Google drive
ONLYOFFICE Desktop Editors version 7.4.0.163 (x64 exe)
Embarcadero Delphi 10.4 Version 27.0.40680.4203
Using the example
32-bit debug build code
I get this error
First chance exception at $006C1E9E. Exception class $C0000005 with message 'access violation at 0x006c1e9e: read of address 0x00000000'. Process Test.exe (12712)
Can reproduce
Any sugestions?