这是D5的README文件:
DSGNINTF.DCU is no longer shipped with Delphi.
Thus, component developers should consider
segregating design-time code into separate units
from runtime code. Runtime code should not refer
to those units.
If this approach is not feasible, you do have the
option of compiling DSGNINTF.PAS (located in
your /source/toolsapi/ directory). This should be
considered a stopgap measure, however, and may
not be available as an option in future releases.
>>>>>>
所以BORLAND在发布D5时就有言在先!你如果在Runtime Library里用了DSGNINTF.DCU
就违反了他的版权许可(咱们大部分好象用的是D板,早就反了).
你如果有D5的控件想在D6中使用,经过楼上的方法处理,还可能有缺少Proxies.DCU
的问题,所以一定要有Source,把他重新打包,把设计库和运行库分开,
只在设计库程序中Uses DesignIntf,designeditors, 另外把DesignNide加到Requires列表
还有一个笨办法:设计一个空的Proxies.pas文件
(to zeroworld)Package分为Contains文件和Requires文件两部分