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

MyChkBox?

edited January 2002 in General
Since upgrading to the latest RB I cannot compile one of my projects that
uses the TMyDBCheckBox in one of the reports.

The error is 'Unit myChkBox was compiled with a different version of
ppCtrls.TppCustomComponent'.

I've tried recompiling dclRBU55.dpk in demos\6.RCL and copying the bpl and
dcp files into lib but it doesn't help.

What next?

Regards
Paul

Comments

  • edited January 2002
    Paul,
    usually the ReportBuilder packages are located in your Windows system
    directory. Perhaps you have copies of dclRBU55.BPL and .DCP there?

    --

    elektronik-labor Carls GmbH & Co. KG
    Stefan Paege

    Kontakt: +49 (0)5973 9497-23 Fax: +49 (0)5973 9497-19

  • edited January 2002
    Stefan


    Thanks for the thought - but I searched the whole system. They only exist
    in demos/6.rcl,
    lib and delphi\projects\bpl (because of my recompile)

    Paul


    that
    and
  • edited January 2002
    You must be recompiling the myChckBox with a different version of the source
    than what you are trying to compile the project with. Did you change
    RBuilder\Source? Follow the corrupt intall cleanup instructions to search
    you machine for old RB files which would cause this problem. You just need
    to find the old files and put them on launch patrol:) Don't delete your
    *55* rb files since these are installed correctly.


    1. Using the Windows Explorer, search the entire hard drive for all
    occurrences of:

    dclRB*.bpl
    dclRB*.dcp
    rb*.bpl
    rb*.dcp

    2. Delete any occurrences which correspond to the version you are removing.
    All packages are named with the convention NN, where the first number
    is the ReportBuilder version and the second number is the Delphi version.
    Thus, a typical package name for Delphi 5 would be rbRCL45.bpl. The same
    package for Delphi 4 would be: rbRCL44.bpl. Check Installing ReportBuilder
    for a list of the packages associated with each version.

    3. Using the Windows Explorer, search your hard drive for all occurrences
    of:

    pp*.*
    da*.*
    ra*.*

    4. These are the prefixes used by individual ReportBuilder units. 'pp' is
    used for ReportBuilder units, 'da' is used for DADE units, and 'ra' is used
    for RAP units. Depending on which ReportBuilder you have (Standard,
    Professional or Enterprise) you may not have all of these unit types.



    Additional Notes

    1. Never have Delphi running when installing ReportBuilder.

    2. All ReportBuilder related files should be stored in the root directory
    $(DELPHI)\RBuilder.

    3. All ReportBuilder run-time packages should be stored in the
    Windows\System directory.

    4. You should never have ReportBuilder files in Delphi\Lib, Delphi\Bin or
    Delphi\Projects\Bpl.

    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.