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

EClassnotfound error with TppArchiveReader

edited March 2002 in General
I have a custom RB component that i wrote for RB 6 with Delphi 5. It
installed fine, appears in the report designer, and prints correctly.
The problem is when I use the TppArchiveReader component to load an
archived report that contains the component. I get an EClassnotfound
error with the name of my DrawCommandClass.

In the unit that defines the custom component, I have the calls to
ppRegisterComponent, raRegisterRTTI, and raRegisterEnum in the
initialization section. The unit is part of the project and in the
uses clause of the unit with the TppArchiveReader component. I'm
missing a step somewhere, but I don't know what it is.
Chris Miller
VersaTrans Solutions Inc

Comments

  • edited April 2002
    My bad, I left out the calls to RegisterClass and UnRegisterClass...

    On Fri, 29 Mar 2002 16:04:09 -0600, Chris Miller
This discussion has been closed.