On this page, we have bundled the most frequently encountered issues with installing 3rd party components in general in Delphi or C++Builder. This applies to TMS components as well as to any 3rd party VCL component. The issues typically originate from an incorrect IDE setup. We hope this will be valuable information to quickly trace & solve the most common issues & mistakes with installing components.
General error messages
1. Error: Class...not found (when opening a project)
Please make sure ALL packages that are used for the component for which the error appears are installed & active. See menu Component, Install Packages in the IDE.
2. Error: File not found xxxx.dcu
Please make sure to set your Delphi library path correct that it includes the folder where these DCU files are located. The library path can be configured under menu Tools, Options, Library - Win32
3. Error: Property ... does not exist
Before installing component updates, make sure that ALL old version files (DCU, BPL, BPI, LIB, DCP, HPP, OBJ .. files) are removed from your Delphi or C++Builder library path. After installing new component versions and compiling applications that have been build with previous component versions, property errors can be raised upon running the applications. This is a common Delphi or C++Builder phenomenon. Solve this by first opening ALL forms in the application that use the updated component, ignore ALL property errors upon opening the forms, save the form files and after this, rebuild the application. The problem will be solved.
4. Error: Could not compile used unit 'xxxx.pas'
Before installing component updates, make sure that ALL old version files (DCU, BPL, BPI, LIB, DCP, HPP, OBJ .. files) are removed from your Delphi or C++Builder library path.
5. Error: Can't load package ... .bpl
Add the folder where the package .BPL files are located to your system path. See Control Panel, System, Advanced Settings, Environment for editing the system path.
6. Error: Cannot load package 'x'. It contains unite 'y', which is also contained in package 'z'.
In Delphi & C++Builder, a unit can be used in one package only. This error happens when you try to install two or more packages that use the same unit. To solve this, remove the unit(s) that is/are used in multiple packages from the package files (choose Remove from Project Manager). Then, from the IDE create a new package and add the unit(s) to this new package and compile this package. Then, in the packages where the unit was used, add a reference in the Requires list of the package to this new compiled package (.DCP file in Delphi / .BPI file in C++Builder) that contains the unit(s).
7. Error: procedure entry point could not be found
When errors are raised upon running the applications such as "procedure @... or the procedure entry point @... could not be located", make sure to scan your hard disk for ALL old versions of package .BPL, package .DCP (package .LIB in C++Builder) files and delete ALL old versions. This error can appear when a project is built with a different version .DCP or .LIB file than the version that is loaded at runtime.
8. Error: Ambiguity between 'xxxx' and 'unit::xxxx
In Delphi or C++Builder, constants with the same name but declared in different units can be used simultaneously. For example, the constant psOffice2003Blue is declared in both AdvPanel.pas & AdvOfficePagerStylers.pas. To use these constants in an application that uses both units, prefix the constant with its namespace, ie:For a TAdvPanel style, use AdvPanel.psOffice2003Blue and for a TAdvOfficePager style use AdvOfficePagerStylers.psOffice2003Blue
9. Error: Activation file has been created ....\TMSPCKLIC.act. Please exit setup and activate your software
When errors are raised upon entering your registration email and code in the setup.exe such as "Activation file has been created ....\TMSPCKLIC.act Please exit setup and activate your software", make sure that an internet connection is available on your machine and that no firewall or antivirus software is blocking internet access for SETUP.EXE. When this issue ensured, delete the .ACT file and restart the SETUP.Error messages in C++Builder
1. Error: [BCC32 Error] Uxtheme.hpp(37) E2257, expected
When errors are raised upon installing the package tmsc2010.bpl such as "[BCC32 Error] Uxtheme.hpp(37): E2257, expected", make sure to delete the uxtheme.h file in the TMS Component Pack source folder and recompile. This file is required for older C++Builder versions but not anymore in C++Builder 2010.2. Error: [Linker fatal error] Unable to open file "xxxx.LIB"
When errors are raised upon compiling such as "Error: [Linker fatal error] Unable to open file 'xxxx.LIB'", make sure that xxxx.LIB is linked, you can force this with adding in the project source:#pragma link "xxxx.lib"
Copyright © 1995 - 2010 TMS Software v3.3





