Delphi 2010 Error Insight incorrectly flags "Undeclared Identifier"

Posted by user257188 on Stack Overflow See other posts from Stack Overflow or by user257188
Published on 2010-02-08T18:36:19Z Indexed on 2010/03/15 22:39 UTC
Read the original article Hit count: 702

Filed under:
|
|
|

In D2010, Error Insight is incorrectly underlining in red types like "TOpenDialog" (even though my unit and project's uses both include Dialogs).

Also, in my method TMyFrame.Foo, it fails the same way by flagging a reference to a VCL component in my TMyFrame -- even though Foo and the component are both part of TMyFrame.

SO suggested I read several threads on this subject. One mentions a D2009 fix for this. Is there a D2010 fix?

Other postings have suggested that Error Insight yields too many false alarms and should just be turned off.

Any suggestions?

© Stack Overflow or respective owner

Related posts about d2010

Related posts about delphi-2010