Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Problem with procedure entry point in 64Bit

Hi,

I came across the following problem with version 22.03 and 23.01 in combination with Delphi 12.2 (ver. 29.0.53982.0329). I updated to 23.01 after these errors occured.

I have a projectgroup with a package which uses RB-functionality, and a .exe which loads this package dynamically (this is a small testproject where I recreated the issue and tried to find a solution; I came accross this problem in a larger project with multiple, dynamic-loaded packages, some of them with RB-functionality).

Everything compiles fine on both platforms and in 32-Bit there are no errors at runtime. In 64-Bit the following error occured when the package is loaded (with System.SysUtils.LoadPackage):

"The procedure entry point '__init_record_Ppreport' could not be located in the DLL '[path]\package.bpl'"

This entry point is shown when i use 'TppReport' inside my package. In the mentioned larger project the errormessage is also shown with '__init_record_Mychkbox', '__init_record_Ppdb', '__init_record_Ppctdsgn' and more.

Packages without RB are loaded succesfully, just like in 32-Bit.

Thanks in advance
Stefan

Comments

  • Hi Stefan,

    This is due to Delphi 12.2 breaking compatibility with Delphi 12.x - which Emb states should not occur. All Delphi 12.x should be binary compatible. The RB 64-bit .dcu's are ok, but the run-time packages result in entry point errors.

    Solutions:

    1. Update to Delphi 12.3 and install RB 23.01 for Delphi 12.3

    Delphi 12.3 includes the '64-bit IDE - initial release.' Emb is calling it an 'initial release' because it is not as feature rich as the Delphi 32-bit IDE. But it is working well in our testing.

    RB 23.01 for Delphi 12.3 includes support for the 32-bit and 64-bit Delphi IDE's.

    2. Use Delphi 12.2 to recompile the RB 23.01 packages.

    The RB 23.01 for Delphi 12.x installation is built using Delphi 12.0.

    I'm sending you an email with the RB Enterprise Package group for the run-time packages and directions on how to recompile.







    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
Sign In or Register to comment.