Delphi XE4 class not found, but compiles fine

The GUI for my company's core product was written in Delphi in the late 90s and upgraded to Delphi 2007. I am working with a team to upgrade Delphi 2007 to XE4.

We still use several components from the ADL VCL (similar to DevExpress, but now they don’t work), but we did not install the whole package. Rather, we have the files we need in a separate folder from our project folder and have a path to these files specified in: Tools-Options-Library-view path and also Project-Options-search path

When I open main, I get an error: "TADLAboutBox not found. Ignore the error and continue?"

The unit "ADLAbout" that defines "ADLAboutBox" is declared in the uses section of main. Moreover, our project compiles just fine.

How can I get rid of these messages? What could be wrong?

Thanks so much for your advice.

+6
source share
2 answers

VCL ADL is not available for XE4 because it was discontinued some time before the release of XE4. If you have ADL source code and ported to XE4, you may be able to succeed.

The error message that you describe is a symptom of a lack of development-time packages for installed components. You will need to create and install development-time packages for any components that you want to interact with during development.

+11
source

The component is not installed in the IDE, so when you open a form that uses this component, you get an error message.

But the source for the component can be found, so when compiling it will do it without problems.

To get rid of the error, you must install the component in the IDE.

+14
source

Source: https://habr.com/ru/post/950544/


All Articles