Subject | Re: [IBO] Re: Why 'Unit IB_Script was compiled with a different version of IB_Components.TIB_Statement' ? |
---|---|
Author | hamacker |
Post date | 2014-05-26T19:22:37Z |
I do that many and many times.
There is no way Delphi use old .dcu or pre-compiled dcu.
I Build IBO5 from scratch (source), but I will try to put Script unit in source path.2014-05-23 20:17 GMT-03:00 masonwheeler@... [IBObjects] <IBObjects@yahoogroups.com>:
Delphi's error messages are usually really helpful and relevant. This is one of the few exceptions.
What it really means is "while compiling IB_Script, the compiler attempted to use a .DCU that is no longer valid, and was unable to find the original .PAS file to rebuild the DCU from." (The DCU in question may or may not be IB_Components.pas. Don't rely on that.)
The fix is to delete all your DCUs and try to rebuild, and then you'll get a proper File Not Found error that will make it clear what you need to add to your search path.