'kevin' wrote:
As a matter of interest, do you know a way of finding out the location of a unit that Delphi finds when it is compiling? That way I can remove the offending unit.
If you searching a source file (Pas) then you can press “Ctrl+Enter” in the Delphi editor when cursor is placed on name of unit in the 'uses' part.
Otherwise you can search 'Dcu' files in all directories which are defined in the Delphi search path (and in the project directory).