itcthienkhiem / eHospital

eHospital
0 stars 0 forks source link

Why Delphi says 'cannot resolve unit name xxx'? #6

Open itcthienkhiem opened 7 years ago

itcthienkhiem commented 7 years ago

https://stackoverflow.com/questions/4265492/why-delphi-says-cannot-resolve-unit-name-xxx Error Insight which keeps all the error messages into the structure view is quite buggy. It doesn't understand your code the way the compiler understands it.

There is an IDE Fix Pack developed by Andreas Hausladen which reduces the number of those "Cannot resolve unit xyz" problems.

It doesn't fix the bug, but it makes them less visible by addressing some of the Error Insight's threading problems.

itcthienkhiem commented 7 years ago

Cach nay thanh cong I reset the library path under tools\options\environment options\delphi options\library.

Click the dropdown box, and reselect your os, and it will reset the path to the library. Worked for me.