Menu

#7 Patch to FortesReport4Lazarus work on 64 bit systems, step 1

open-fixed
nobody
None
5
2011-03-08
2011-01-16
No

Patch that solves problems when tries preview the report on 64 bit systems. A EAccessViolation exception is raised when you try preview the report.

Maybe this don't solves all problems related with 64 bits systems, but now I can at least preview the report.

Others cast from pointer->Integer->Pointer (example: using the Tag property) must be replaced by a cast pointer->PtrInt->pointer, because the type PtrInt is size variable, that depends of the platform used (32 or 64 bits).

Discussion

  • Fabio Luis Girardi

     
  • Luiz Camara

    Luiz Camara - 2011-03-07

    I resolved with a different approach (don't use tag at all since is not safe)

     
  • Luiz Camara

    Luiz Camara - 2011-03-07
    • status: open --> open-fixed
     
  • Luiz Camara

    Luiz Camara - 2011-03-07
    • status: open-fixed --> closed-fixed
     
  • Fabio Luis Girardi

    I though about doing this, but Tag property in Lazarus is of type PtrInt (that can be 32 bits or 64 bits sized, depending of your CPU target), so I fixed it to continue using the tag property.

    Thanks!

     
  • Fabio Luis Girardi

    • status: closed-fixed --> open-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.