Why Delphi says 'cannot resolve unit name xxx'?

前端 未结 5 578
南旧
南旧 2021-01-11 16:56

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 r

5条回答
  •  梦谈多话
    2021-01-11 17:04

    Out of curiosity, is there any code in AdPort and/or AdStatLt that is subject to conditional compilation ?

    The parser that underpins Error Insight is I think different (physically and contextually) from the compiler. The compiler may be able to make sense of those conditional compilation areas that Error Insight is not.

    This is just speculation on my part, but Error Insight is much improved in Delphi 2010 and typically now only chokes when there are errors in my code that I have yet to resolve.

提交回复
热议问题