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

Unit raTreeVw was compiled with a different version of ppToolResources.ToolImageList

Hi,
I am migrating my application from delphi 6 to 10.4. We are currently using Rbuilder 21.01. I am trying to build my application and getting this error :
" Unit raTreeVw was compiled with a different version of ppToolResources.ToolImageList"

Comments

  • edited March 2022
    Hi Rajeev,

    This error indicates that you have an older compiled file in your library path. Since we do not provide the RAP source, you need to be sure you have the latest version of the .dcu files being used by Delphi. Check your application path and Delphi library path for outdated .dcu files (or, if you are building with packages, outdated .dcp/bpl files).

    If you still have issues, you may need to perform a corrupt install cleanup.

    https://rbwiki.digital-metaphors.com/general/installation/cleaning-up-a-corrupt-install/


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2022
    Hi Nico,

    Actually I wanted to debug the pprptexp.pas file to check the loadreport function.
    I have followed the instruction you have mentioned in the link but still same and
    When I have deleted the file from the path I am assuming it is throwing file not found error.
    It is pointing the same path file which i have deleted.
    In my code it is reading the file from below path, which I believe is correct path to read the file.
    C:\Program Files (x86)\Embarcadero\Studio\21.0\RBuilder\Source
    I am facing this issue only when I add above path to my Delphi library path.
    Note: We are working on delphi 10.4.1 and Rbuilder setup was mentioned as Enterprise 21.01 for Delphi 10.4.2 Sydney.

    Thanks
    Rajeev
  • Hi Rajeev,

    This is not a known issue.

    1. Please update to RB 21.03 and Delphi 10.4.2 and retest. We build all versions of ReportBuilder with the latest available version of Delphi. While they should be interface compatible, we cannot support older versions of either.

    2. If you create a simple, minimal application with a report on a form and raIDE added to the uses clause, do you still get the same issue?
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • Thank you for the example. The issue is that your project files are still referencing a different Delphi version and therefore referencing the incorrect RAP .dcu files. If you delete the Stats.dpr and Stats.dproj and let the current version of Delphi recreate them, your project compiles correctly.


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
Sign In or Register to comment.