I had to format my computer and reinstall RAD Studio 10.4.
I have many projects. All projects have been recompiled and are running, except for one project that is showing strange behavior.
Any new form I add to the project, when I create the Form, I get the message:
Project XXX raised exception class EResNotFound with the message 'Resource TFormYYY not found'
Also, if I add a new TMenuItem
to TMainMenu
, the new item does not appear.
It happens only in this particular project.
I tried a few things:
Deleted the project
.res
,.dproj
, and.dproj.local
files.Compared the project options with the options of other projects, which is OK.
Restored a backup copy.
I suppose this is a resource issue, but I could not find a solution.
Update: if I change the project name everything works fine!