While trying to install TComport_411f into Delphi-10 Seattle (Starter Version), the IDE apparently got messed up and now none of my work will compile. Any attempt to compile even the simplest VCL program gives the error
F1027 Unit not found: 'System' or binary equivalents (.dcu)
(I have been away from D7 for several years and it seems that in the meantime, the options and complexity of Delphi has increased by a factor of about 10. So I am relatively rusty.)
After spending a couple of hours browsing the internet for clues to my problem, I tried with Windows 10's Run command Opening
"C:\Program Files (x86)\Embarcadero\Studio\17.0\bin\bds.exe" which gives the F1027 error
"C:\Program Files (x86)\Embarcadero\Studio\17.0\bin\bds.exe" -rtest which does not give the error.
I then compared the Tool/Options/Environment.../Delphi options/Library Directories for the two cases (quite a job) and found that the "-rtest" "Library path" had three more folders:
$(BDSLIB)\$(Platform)\release;
$(BDSUSERDIR)\Imports; and
$(BDS)\Imports
And the non -rtest Browsing path had one more folder:
$(BDS)\OCX\Servers.
I tried adding the three extra folders that were missing from the non -rtest Library path, but they all three became grayed out.
What should I try next? In the meantime, I will be starting Delphi-10 with the Windows 10's Run command Opening
"C:\Program Files (x86)\Embarcadero\Studio\17.0\bin\bds.exe" -rtest
-JohnH