[Lazarus] Reading a spreadsheet with fpspreadsheet

Koenraad Lelon lazarus1 at de-brouwerij.be
Thu Jul 29 15:59:32 CEST 2010


Op 29-07-10 14:53, Felipe Monteiro de Carvalho schreef:
> On Thu, Jul 29, 2010 at 2:50 PM, Koenraad Lelon
> <lazarus1 at de-brouwerij.be> wrote:
>> I'm having troubles reading a spreadsheet with the demo's of
>> fpspreadsheet. The demo's crash.
> 
> Which demo exactly and which format?
> 
>> The fpspreadsheet is the version included in Lazarus 0.9.28.2.
> 
> I didn't know it is included in Lazarus .... afaik it's available only
> in subversion lazarus-ccr
> 
Hi Felipe,

It seems I forgot that I downloaded it via svn. The files are from
28-06-2010, about 9:00.
I tried excel5demo and excel8demo.
This is what I get :

I:\test-lk>excel5read.exe
Opening input file I:\test-lk\test.xls
An unhandled exception occurred at $00426E68 :
Exception : FPSpreadsheet: Reading the OLE document failed
  $00426E68  TSSPREADBIFF5READER__READFROMFILE,  line 1256 of xlsbiff5.pas
  $0042502D  TSWORKBOOK__READFROMFILE,  line 696 of fpspreadsheet.pas
  $00401756  main,  line 31 of excel5read.lpr

I:\test-lk>excel8read.exe
Opening input file I:\test-lk\test.xls
An unhandled exception occurred at $00426FF8 :
Exception : FPSpreadsheet: Reading the OLE document failed
  $00426FF8  TSSPREADBIFF8READER__READFROMFILE,  line 1240 of xlsbiff8.pas
  $0042502D  TSWORKBOOK__READFROMFILE,  line 696 of fpspreadsheet.pas
  $00401756  main,  line 34 of excel8read.lpr

I enclosed the excel-file.
With the original test.xls the demo's worked fine.

Thanks,

Koenraad Lelong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.xls.zip
Type: application/zip
Size: 6009 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100729/1bc460d9/attachment-0004.zip>


More information about the Lazarus mailing list