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

AV in rbRCL55.bpl using RB6.01 for D5E

edited July 2001 in General
I had RB5.56 under D5E, working pretty well

I have installed RB6.01 in normal manner, but now when I use the IDE to edit
my project, I get AV at 04D61CF2 in module 'rbRCL55.bpl'. Read of address
00000008

I can open my project and work pretty much as usual, but if I open a form
which contains my RB components, then Delphi generates the AV described
whenever I try to save the form. Clearly something is getting changed
(automatically) when the form is opened because the IDE asks if I wish to
save, even though I havent changed anything myself.

The same error (at the same address) happens whever I open any forms of a
similar style (involving RB components) within my application.

(I am using Waler TExtraDevices, but have installed latest RB6 version and
recompiled with RB6.01)
(I have checked C: drive for rb* components; it seems only files timestamp
6:01 are present.)

Can you suggest what may be occuring and what I should do to further
diagnose the cause

Thanks

Clive Crocker
CMC Communication Systems Ltd

Comments

  • edited July 2001
    Due to pressures of work, I have uninstalled RB6.01, reinstalled RB5.56
    etc., and all appears to be broadly OK.

    But I would still like to know what is causing this fault, so that I can
    move on to RB6.x

    Thanks

    Clive
  • edited August 2001
    Sorry, to hear of your troubles. I'm talking to Roger Ash in a thread just
    above this one where he is encountering an AV on Win 98. What OS are you
    running? I can't reproduce it.

    When a report is opened in a newer version of RB, it is converted to the new
    format, but it isn't persistent until you explicitly save it back down to
    file or database.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited August 2001
    Hi Jim

    I am running W2K pro SP1 with MDAC 2.6; I am going to put on W2KSP2 right
    now anyway.

    I was not able to reproduce the problems making a clean project, so it
    appears to do with my existing RB items. Currently I store the reports as
    RTM files.

    At runtime the application loads the template from file with a given
    filename.

    At design-time I :
    a) open the ReportBuilder designer, which has an 'empty' report in.
    b) load (from an RTM file)
    c) do my editing
    d) save to file
    e) Finally re-load my 'empty.rtm' file which is a completely empty report

    RB5.56 seems very happy with this arrangement.

    I do this so that I have no permanent RB elements in my Delphi application;
    later this whole mechanism will be SQL stored, but there are other issues
    that I must resolve.

    I did try to load this report and save under RB6.01 but perhaps I should
    have forced a change; however the datetime of the file was certainly
    changed.

    I have 2 TppReport components on my form, and both contain the 'empty'
    report at design-time. Could this be the problem? RB5.56 has no problem with
    this configuration.

    Since I have returned to 5.56 the urgency of a solution is now reduced.

    Thanks & regards

    Clive Crocker
This discussion has been closed.