Menu

#577 ZFastCode - GetOrdinalDigits is not compatible with delphi 12 (nativeint)

Unknown
closed
nobody
None
Bug Report
2024-05-08
2023-11-17
lxo
No

ZFastCode - GetOrdinalDigits is not compatible with delphi 12 (nativeint)

Discussion

  • lxo

    lxo - 2023-11-17
    • Milestone: 8.0-Beta --> Unknown
     
  • Pee79

    Pee79 - 2023-11-20

    Hi, I don't know if the patch can be implemented in a simpler way than slavishly searching for lines in units, but even if I replaced lines with minuses and added lines with pluses, it still doesn't want to compile?

     
    • marsupilami79

      marsupilami79 - 2023-11-20

      Hello Pee79,

      the basic idea is that you checkout a copy of Zeos 8 using Subversion or GIT and then apply the patch using their apply patch methods.

      Applying changes by hand isn't the idea.

      If you don't want to use Subversion or GIT you can download a copy of the patched version from aehimselfs repo:
      https://github.com/aehimself/zeoslib

      With best regards,

      Jan

       
  • Pee79

    Pee79 - 2023-11-20

    Thank you very much for the advice on how to upload the patch correctly. I'll check my options and ability :) ... if the patch is added to the official packages for delphi 12, I'll be even better at the moment. Have a nice day and best regards, Petr :)

     
  • Pee79

    Pee79 - 2023-11-22

    Hello, I'm very sorry, unfortunately I haven't figured out how to correctly apply the patch to fix patch 8 for delphi 12. I downloaded Zeos 8 from this link where there are packages for delphi 12 https://sourceforge.net/p/zeoslib/code-0/8051/tree/branches/8.0-patches/ but here when I compile I get errors that would could fix the patch you offered, but unfortunately I don't know how to patch, and especially which tool to add to Zeos 8. Unfortunately, there are no packages for Delphi 12 on the github link https://github.com/aehimself/zeoslib
    Would it be possible to have a more detailed guide on how and with what tool to apply your patch to packages for delphi 12 in Zeos 8?
    Once again, I'm very sorry if this is a stupid question for an experienced programmer, but it would help me a lot! :)
    Have a nice day with regards Pee79

     
  • Pee79

    Pee79 - 2023-11-27

    Hello, thank you very much for another package for Zeos8 and support for delphi 12. Everything can be compiled without errors, but unfortunately an error pops up during installation. You have no idea what the problem could be.
    Error
    Access violation at address 3C82898D in module 'bds.exe'. Read of address 00000010.
    OK
    Thank you very much for your help and have a nice day. Best regards, Pee79

     
    • marsupilami79

      marsupilami79 - 2023-11-27

      Hello,

      honestly I have no idea. I don't get that exception on my system. Could you please try to generate a stack trace with madExcept?

      Best regards,

      Jan

       
    • AE Himself

      AE Himself - 2024-01-21

      Pee79,

      I installed the patched package in 4 different Delphi installations already (2 Delphi 12 and 2 Delphi 11) without any issues. As no component registration methods were changed this also makes me to believe that the problem will be localized to your PC; and is not in Zeos in this case.

      AVs in the IDE are caused by a 3rd party addon in most of the cases so try to disable them during the installation (GExperts, CNPack, Parnassus just to name a few). It's also possible that you have some remains of the previous installation which are confusing Delphi, so you can try to manually clean up Zeos's files in the subdirectories of C:\Users\Public\Documents\Embarcadero\Studio\23.0.

       
  • marsupilami79

    marsupilami79 - 2024-05-08
    • status: open --> closed
     
  • marsupilami79

    marsupilami79 - 2024-05-08

    Closed because of no feedback.

     

Log in to post a comment.