There is need to recompile DesignInfo.pas. Any references to "DsgnIntf" should be changed to "DesignIntf" and DesignIDE should be added to the list of required packages in an package using DesignIntf. The DesignIntf and DesignEditors units are for design-time use only. They shouldn't be used in any units that are used at run-time. To compile cleanly under Delphi 6, move any code that relies on these units to a new unit that contains no run-time code. Add it and DesignIde.dcp to your package. Effectively you now need 2 packages for any collection of components which have design-time stuff such as property editors. A run-time and a design-time package. There were big warnings about this when Delhpi 5 (or maybe Delphi 4) came out. The docos said that you should never have design-time code in run-time packages (but you could get away with it). In Delphi 6, this is now enforced. I think you'll find it is not too big a deal. Trevor
|
- [DUG]: Missing unit ?? Jeremy Coulter
- Re: [DUG]: Missing unit ?? Trevor Jones
- Re: [DUG]: Missing unit ?? Nic Wise
- RE: [DUG]: Missing unit ?? Marshall, Paul