views:

333

answers:

3

I am upgrading from Delphi 7 to Delphi 2009.

In an existing app, the code completion does nothing at all. If I start a new project, it works fine.

Any idea what is going on?

A: 

I am running against a similar problem. I have a large D2009 app that was working and after some large code and component updates, code completion stopped working.

I have tried looking for obsolete unit types like wintypes and winprocs but this is not the issue this time.

Also, I have used microsoft sysinternal tools to monitor file usage and see if I can determine which file is "breaking" code insight..but no luck either.

Hope to find an solution soon too...

A: 

Anyone know this?

+3  A: 

Finally found the solution to this one, took awhile.

Added "WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE" to:

Project Options -> Delphi Compiler -> Unit aliases

There is a whole big reason why, but to tired to explain it.