Why Delphi says 'cannot resolve unit name xxx'?
问题 I'm working with Delphi2010 Enterprise Update 4. When I'm opening my project in the IDE and displaying the mainform code, there are 2 unit names underline in red . xxx http://img268.imageshack.us/img268/6475/unitnameunresolved.png. I have verified that the path to the unit source is in the Library path and in the Browsing path . Surprisingly, when I'm doing a right-clicking on the unit and selecting Open file at cursor , it works (ie. delphi opens the right unit). Any idea about that ? 回答1: