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

RB 10 & D2007

edited October 2008 in General
I've been using RB10/D2007 for a while, but I haven't needed to step into
the RB code to debug 'til just now - and I find I can't actually build RB10.
I keep running into the "compiled with a different version" issue - where I
don't have the "ra" source. When I try to build BuildEnt I run into missing
proxies.dcu, which, strangely, doesn't seem to actually reside on my system.

Comments

  • edited October 2008
    Hi JD,

    What exactly do you need to change with the ReportBuilder source? If you've
    found a bug, perhaps we can help with a fix.

    The source to RAP is not included with ReportBuilder. If you change the
    interface sections of any RB units and try to rebuild the packages, you will
    receive an error. One option is to keep your changes interface compatible.
    Another is to remove RAP from your application.

    The BuildEnt project needs to be built with runtime packages. Specifically
    the proxies.dcu is included in the DesignIDE package.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2008
    Thanks, "Build with runtime packages" did the trick WRT BuildEnt. I hadn't
    actually changed anything in the RB source at all, but I was getting a
    "different version" error, so I thought BuildEnt might resolve that.

    My initial problem was, I was getting an access violation in a call to
    TppReport.LoadFromFile. There's something very odd going on there, as the
    AV seemed to occur only on Vista systems, where we used SimpleShareMem (the
    printing functionality is encapsulated in a DLL). Using ShareMem made it go
    away, but I'm skeptical that this is the real problem.

  • edited October 2008
    ... still, when I try to build a project using RB (wherein I add some
    functions to RAP), I get a "unit raParser was compiled with a different
    veriosn of ppRTTI.TraRTTIClassRegistry" error.


  • edited October 2008
    Although, if I remove the RB\source folder from the lib path, that error
    goes away. Still, can't trace into the source, the way things sit.

  • edited October 2008
    Hi JD,

    We've had similiar problems in the past and the issue was that the same DCU
    existed in both the .\Lib and .\Source folder under the RBulder folder. I
    believe the DCU's are shipped in the .\Lib folder but if you rebuild
    anything they get put in the .\Source folder by default.

    Hopefully that helps and points you in the right direction.

    Scott

  • edited October 2008
    The "ra" dcu's were in fact in both source and lib (they appear to be
    identical) - but removing them from one or the other didn't help.

  • edited October 2008

    I peformed a test using D2007 and RB 10.09 and did not encounter an issue.

    Check the Help | About box of the report designer for the version no. If you
    are not using RB 10.09, send your serial number and registration details to
    info@digital-metaphors.com and request it.




    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited October 2008
    I'm using 10.07, but I'll think I'll go ahead and update to 11, since I just
    purchased it, and see what happens.

This discussion has been closed.