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

RB 9.02 is incompatible with Delphi 6

edited June 2005 in General
I posted information before and did not get a proper answer.

I build a brand new portable with XP Pro, SP2, Delphi 6 and all service
packs, TeeChart Pro 7.04 and installed RB 9.02 Enterprise.

None of my software packages (about 50) will now run.

If you step through the "Application.CreateForm()", each datamodule (or
form)which contains a report fails to create with an "Application Error",
followed by Run time 216.

This isn't funny, as I'm totally screwed, and not sure what to do. I tried
removing the ppUnits from a datamodule, and any other RB components. THe
CreateForm()executes correctly. Add a few blank reports, and a DB pipeline
and all is still well. Try loading in the report contents from a saved RTM
and it all falls over when you try to execute the program. Can you PLEASE
advise the likely source of the problem as a matter of urgency!!



--
Dr Barry Clark
Senior Lecturer and Director of VALE
(Virtual Learning and Administration Environment)
Medical Education Unit
Wolfson Medical School Building
University of Glasgow
G12 8QQ

Tel: 0141-330-4248

Comments

  • edited June 2005

    I have Delphi 6 installed with RB 9.02 and it works properly. We have many
    customers ussing Delphi 6 and RB 9.02 successfully.

    I think the issue is related to RB for D6 when used with TeeChart 7.04. Here
    is an tech tip article that I just wrote which explains the issue and how to
    resolve it.


    --------------------------------------------------
    Tech Tip: Delphi 6, TeeChart 7.04, and ReportBuilder
    --------------------------------------------------

    Steema has chosen to compile TeeChart 7.04 for Delphi 6 with all Delphi 6
    service packs installed. Because of this Digital Metaphors cannot compile
    the RB TeeChart packages for TeeChart 7.04 for Delphi 6. You will need to
    manually build and install the package source in RBuilder\TeeChart\Tee700.
    Directions are in the RBuilder.hlp.

    Access the RBuilder.hlp, select the Table of Contents, and then select
    ReportBuilder Reference | TeeChart | Delphi X where X is the version of
    Delphi that you are using.


    Borland has issued a number of service packs for Delphi 6. Digital Metaphors
    policy has always been to compile ReportBuilder with a plain vanilla build
    of Delphi so that we do not force customers to apply updates that could
    potentially break their existing code. In the case of D6, we were forced to
    apply service pack 2 (because Borland's service pack broke our code.)
    However, we have refrained from installing additional service packs.



    --
    Tech Support mailto:support@digital-metaphors.com
    Digital Metaphors http://www.digital-metaphors.com
    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2005
    Is there a version of TeeChart Pro I can install (or you recommend) which
    avoids this problem all together? I'm not too bothered about TeeChart
    features, I just want to get around this problem!

    Barry

  • edited June 2005

    The RBuilder.hlp lists TeeChart 6.01 and TeeChart 5.02 as working. I think
    that is accurate.

    Its probably going to be simpler to compile the Tee700 packages.


    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2005
    I have and still have the problem - could be a corrupt Delphi installation?
    I think I'm going to have to start all over again, or revert the RB 7.03.

    This is really frustrating, as I know Delphi worked OK with TC5 and RB7.03 -
    I've built this on several PCs with no problem.

    Barry

  • edited June 2005

    1. In your Delphi library path, add an entry for RBuilder\TeeChart\Tee700 -
    prior to the entry for RBuilder\Lib.

    2. When you rebuild the TeeChart source and packages, then check the
    RBuilder\TeeChart\Tee700 directory to make sure that new .dcu's, .dcp's,
    bpl's are being produced. Copy the .dcu's and .dcp's to RBuilder\Lib. Copy
    the rb*.bpl to Windows system32 and the dcl*.bpl to RBuilder\Lib.

    Can you run any reports? For example try compiling
    RBuilder\Demos\Reports\Demo.dpr. If that works, then open the main form of
    that project and configure it to include the TeeChart demo (directions are
    at the top).


    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2005
    Definitely related to RB9.02. I removed all RB components from a smaller
    project. Compiled and ran OK.

    Added them back - Exception error, followed by run tim 216.

    ...??

    Barry
  • edited June 2005
    Opened the demo - as soon as I click run it compiles, then gives an
    immediate "run time 216" error.

    Barry
  • edited June 2005
    Sorry- I BUILT the demo - then it ran OK!!

    So, I modified the directive to add the TeeChart - also ran OK. Does this
    mean everything is installed correctly and I have some other problem?

    Are there other components which could interact with RB? I've used
    "DACforMySQL" from Microolap for a couple of years now, and it was all OK
    until I upgraded RB and TeeChart.

    Barry

This discussion has been closed.