Menu

Compile a 64 bit app

Giorgio
2024-10-08
2024-10-08
  • Giorgio

    Giorgio - 2024-10-08

    I've donwloaded the last tDbf 7.01 version, and changed the package for Delphi 10 in order to support version VER360 (Delphi 12). I have simply copyed the block in dbf_common.inc for VER300 and replaced VER300 with VER360 in the copied new block.
    Then I've compiled in 32bit platform and installed dcltdbf230.bpl.
    Then I switched to 64bit platform and build the tdbf230.bpl.
    I've opened the demo project, added 64bit platform, and compiled it.
    It runs, but if I try to update a record in "simple program", I get error "Project TDbf_Demo.exe raised exception class $C0000005 with message 'c0000005 ACCESS_VIOLATION'.
    How can I use TDbf in 64 bit app?

     

    Last edit: Giorgio 2024-10-08
  • Giorgio

    Giorgio - 2024-10-08

    This post https://sourceforge.net/p/tdbf/discussion/107245/thread/38240a47/?limit=25#8121 suggested me to to update the dbf.pas file as coded by Giuseppe Costanzo, and now it work fine.

     

    Last edit: Giorgio 2024-10-08

Log in to post a comment.

MongoDB Logo MongoDB