Search code examples
delphidelphi-2009

Delphi 2009 - How to fix 'undeclared identifiers' that are identified


I have several custom components in my uses list of a unit. For some reason, D2009 is saying that it cannot resolve the unit name. But it seems as if it can find it - the code compiles fine.

How can I have it resolve the unit names at design time though? My Structure window is showing all kinds of 'Undeclared Identifier' errors because the references in the Uses clause are not being found. This makes it difficult to code, and to debug legitimate errors in my code.


Solution

  • I think this is something the IDE Fix Pack 2009/2010 can help you with.

    RAD Studio 2009 fixes:
      <snip>
      QC #22880: Cannot resolve unit name