Recent

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

Patrice68

  • Newbie
  • 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

  • Sr. Member
  • ****
  • Posts: 292
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: 672
    • 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) / Linux Mint (64 bit)
       Lazarus 3.2 FPC 3.2.2
       CodeTyphon 8.40 FPC 3.3.1

Patrice68

  • Newbie
  • 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: 672
    • 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) / Linux Mint (64 bit)
       Lazarus 3.2 FPC 3.2.2
       CodeTyphon 8.40 FPC 3.3.1

Gebo

  • New Member
  • *
  • Posts: 22
    • مدرسة النسر الأسود
Re: Fortes report 324 an Lazarus 2.0.2 ... error ...
« Reply #5 on: June 29, 2022, 02:59:09 pm »
the compiler that are used in your verison is changed and the fortes4lazarus not upgraded untill now and not compatible with your lazarus version .

My advice to use lazarus 2.0.12 untill fortes4lazarus to be upgraded.
I like programming I begun by vb,vb.net,c# and finally free pascal and lazarus .I like martial arts sports and I am a kickboxer and made our team sport club called black eagle school (https://www.monesters.com).

wp

  • Hero Member
  • *****
  • Posts: 11856
Re: Fortes report 324 an Lazarus 2.0.2 ... error ...
« Reply #6 on: June 29, 2022, 03:12:00 pm »
Using current Laz 2.2.2/FPC 3.2.2, I just downloaded FortesReport from OPM, and was able to successfully install it (on Windows). For the BioLife and Etiqueta demos there was an error related to the .rc resources. I commented these lines out, and then all demos were running correctly.
« Last Edit: June 29, 2022, 03:13:50 pm by wp »

 

TinyPortal © 2005-2018