Delphi "remembers" old DCU dependency
I'm moving development of an application from one machine (same version of Delphi). The original version of the application used a TMoneyEdit component from the TMS pack. While moving the project I'd like to remove the dependency on that pr开发者_开发百科oduct. So, in the source, I removed the TMoneyEdit component and replaced it with one of my own. I also removed the MoneyEdit reference from the unit's USING clause.
However, Delphi still will not compile my application, giving the error File not found MoneyEdit.DCU.
If I search all files in the project for "moneyedit" I find nothing. I've even searched across my hard disk, and the only references to moneyedit are in the original TMS component files (and I have no references to TMS in my project, either).
Obviously, there's still a dependency stored somewhere. Can anyone tell me where?
When moving from one computer to another did you take any DCU's from your current project with you? I may be that one of your projects DCU's are out dated and sill using the old code base. If that is the case doing a full clean and build should solve it.
精彩评论