Recent

Author Topic: xls reader  (Read 2361 times)

maurobio

  • Hero Member
  • *****
  • Posts: 623
  • Ecology is everything.
    • GitHub
Re: xls reader
« Reply #15 on: May 23, 2023, 08:23:36 pm »
Hi, @wp!

The error message is shown in the attached image.

This seems to be releated do LAMW - I have no compiler errors with fpspreadsheet in either Windows or Linux.

Hope this helps.

With best wishes,
UCSD Pascal / Burroughs 6700 / Master Control Program
Delphi 7.0 Personal Edition
Lazarus 2.0.12 - FPC 3.2.0 on GNU/Linux Mint 19.1, Lubuntu 18.04, Windows XP SP3, Windows 7 Professional, Windows 10 Home

jmpessoa

  • Hero Member
  • *****
  • Posts: 2301
Re: xls reader
« Reply #16 on: May 23, 2023, 09:40:31 pm »
Quote
This seems to be releated do LAMW...

No!

See previous message from  @wp   ;D
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

maurobio

  • Hero Member
  • *****
  • Posts: 623
  • Ecology is everything.
    • GitHub
Re: xls reader
« Reply #17 on: May 23, 2023, 09:56:25 pm »
Hi, @jmpessoa!

So, for some strange reason, the problem only appears in LAWM, because I have been using the fpspreadsheet library for years under Windows/Linux and have never had this problem before. In fact, an identical demo using FCL compiles and runs OK under Windows/Linux.

Anyway, I gave up!

Best regards,
UCSD Pascal / Burroughs 6700 / Master Control Program
Delphi 7.0 Personal Edition
Lazarus 2.0.12 - FPC 3.2.0 on GNU/Linux Mint 19.1, Lubuntu 18.04, Windows XP SP3, Windows 7 Professional, Windows 10 Home

rvk

  • Hero Member
  • *****
  • Posts: 6163
Re: xls reader
« Reply #18 on: May 23, 2023, 10:05:48 pm »
In fact, an identical demo using FCL compiles and runs OK under Windows/Linux.
Did you already try to put {$mode objfpc}{$H+} at the top of that file as wp suggested?

(It might be default in Win/Linux and not for Android)

maurobio

  • Hero Member
  • *****
  • Posts: 623
  • Ecology is everything.
    • GitHub
Re: xls reader
« Reply #19 on: May 23, 2023, 11:25:35 pm »
Hi, @rvk!

I didn't try it. I gave up using fpspreadsheet on Android at this time. The jTableLayout component is adequate to my needs and it seems nicely tailored to use CSV files anyway.

Best regards,
UCSD Pascal / Burroughs 6700 / Master Control Program
Delphi 7.0 Personal Edition
Lazarus 2.0.12 - FPC 3.2.0 on GNU/Linux Mint 19.1, Lubuntu 18.04, Windows XP SP3, Windows 7 Professional, Windows 10 Home

 

TinyPortal © 2005-2018