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

EResNotFound for TppPrintPreview

edited September 2002 in General
I'm working with an existing application that has worked fine for a while.
Today I've been working on an automated build and now am having a strange
problem regardless of how I try and compile.

We have an application with a print report dialog. When I try and preview a
report from the print report dialog I get a EResNoFound for TppPrintPreview.
I can see that both the report (in dll) and the print report dialog (also
dll) have the runtime package ppRCL by using tdump -em.

In the print report dialog if I call GetClass or FindClass a pointer is
returned without complaint. I tried putting a simple report on the print
report dialog and previewing and still got the exception. Help!

This is using report builder 3.5, although the I doubt version doesn't have
anything to do with this problem, it has worked in the past. We have more
recent versions of RB, but for this application changing the version is not
an option.

Thanks in advance,
--
David Beardsley
Software Developer
NuMedics, Inc

Comments

  • edited September 2002
    Are you building from the RBuilder\Source directory or RBuilder\Lib? If you
    are trying to build with source, then from Delphi design time, can you open
    ppPrintPreview.pas in RBuilder\Source directory? In RB 3.5 there shouldn't
    be a ppPrintPreview.res as the images for the speed buttons in the preview
    form should be loaded into the speed button glyphs. Try uninstalling RB and
    reinstall RB 3.5.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.