Recent

Author Topic: Fortes report 324 an Lazarus 2.0.2 ... error ...  (Read 638 times)

Patrice68

  • New member
  • *
  • Posts: 6
Fortes report 324 an Lazarus 2.0.2 ... error ...
« on: May 19, 2019, 07:34:37 pm »
Hello everyone,
Long-time user of Delphi, new in Lazarus (a few hours) :)

I downloaded and installed the latest version of Lazarus (# 2.0.2).
I found Fortes Report [url] https://sourceforge.net/projects/fortes4lazarus/files/fortesreport-3.24-LCL-R2.zip/download [/ url]
I opened Fortes324forlaz.lpk
And when I compile it, I have errors:
- rlprinters.pas (125,10) Error: Identify not found "OpenPrinter"
- rlprinters.pas (128,44) Error: incompatible type for arg no. 5: You have "Longword", wait for "PDWord"
- rlprinters.pas (133,58) Error: incompatible type for arg no. 5: You have "Longword", wait for "PDWord"

An article was published previously with identical problems but it was talking about Lazarus 0.9.30 ... there was a problem of version compatibility.

Is it not possible to compile FortesReport on Lazarus 2.0.2?
Long-time user of Delphi, new in Lazarus and like any beginner ...

Thausand

  • Full Member
  • ***
  • Posts: 234
Re: Fortes report 324 an Lazarus 2.0.2 ... error ...
« Reply #1 on: May 19, 2019, 07:54:04 pm »
Hi hello Patrice68,

I no use self Fortez. You write have download manual but i think can find in OPM (http://wiki.freepascal.org/Online_Package_Manager) and maybe work better ?

JanRoza

  • Hero Member
  • *****
  • Posts: 538
    • http://www.silentwings.nl
Re: Fortes report 324 an Lazarus 2.0.2 ... error ...
« Reply #2 on: May 19, 2019, 08:37:38 pm »
I use FortesReport CE which was installed via OPM and it compiles okay with Lazarus 2.0.2. Try that one.
OS: Windows 10 (64 bit) / Ubuntu 19.04 (64 bit)
Laz: Lazarus 2.0.4 FPC 3.0.4 i386-win32-win32/win64

Patrice68

  • New member
  • *
  • Posts: 6
Re: Fortes report 324 an Lazarus 2.0.2 ... error ...
« Reply #3 on: May 21, 2019, 09:44:21 am »
new in Lazarus ... I do not know "OPM"
works perfect!
thanks for the help  :)
Long-time user of Delphi, new in Lazarus and like any beginner ...

JanRoza

  • Hero Member
  • *****
  • Posts: 538
    • http://www.silentwings.nl
Re: Fortes report 324 an Lazarus 2.0.2 ... error ...
« Reply #4 on: May 21, 2019, 12:10:22 pm »
OPM (Online Package Manager) is already in your Lazarus installation you can find it in the Package menu. It's the easiest way to install a great variety of components (including FortesReport) into Lazarus. Highly recommended!
OS: Windows 10 (64 bit) / Ubuntu 19.04 (64 bit)
Laz: Lazarus 2.0.4 FPC 3.0.4 i386-win32-win32/win64