Recent

Author Topic: Problem to compile fortesreport-3.24  (Read 2552 times)

Ever

  • Jr. Member
  • **
  • Posts: 61
Problem to compile fortesreport-3.24
« on: December 09, 2017, 02:43:22 pm »
Regards

     Install the new version of Lazarus 1.8 for windows and when you try to install the component fortesreport tell me: invalid identifier in the line that you attach in the image

   I appreciate any suggestions to solve the problem. I use windows 10 64bit.

jamie

  • Hero Member
  • *****
  • Posts: 6130
Re: Problem to compile fortesreport-3.24
« Reply #1 on: December 09, 2017, 03:15:53 pm »
Look at the package files and see if the "Windows" unit is included ?

The OpenPrinter is a windows API which means it is no longer cross platform.

if that shows the WINDOWS unit is not being placed in the USES list then
open the Printer unit and see if that call has been moved into local space(interface)?

Last resort would be to contact the author of that package and have them properly
access the TPrinter class so to make it cross platform?
The only true wisdom is knowing you know nothing

balazsszekely

  • Guest
Re: Problem to compile fortesreport-3.24
« Reply #2 on: December 09, 2017, 04:20:28 pm »
@everjdelgadoch

Install fortes4lazarus with OPM, I fixed the issue there. If using OPM is not an option, download attached zip, extract rlprinters.pas, overwrite the original one and you're good to go.

Ever

  • Jr. Member
  • **
  • Posts: 61
Solved Problem to compile fortesreport-3.24
« Reply #3 on: December 09, 2017, 05:13:16 pm »
Thanks @GetMem, problem solved

 

TinyPortal © 2005-2018