在通过一些已知信息,了解到,在DELPHI6下作的改进,如“DsgnIntf  的引用应该被改变为新的  Delphi  6  名称,DesignIntf”
我把 DesignIntf 的.DUC 文件搞好后在安装组件时,又碰一个新的问题,
-------------------------------------------------------------------------    type
    TOLItemsProperty = class (TClassProperty)
    public
      function GetAttributes: TpropertyAttributes; override;
      procedure Edit; override;
    end;-------------------------------------------------------------------------这一段,编不过,以有的资料是
组件编辑器的变化   
    类  TComponentEditor  在  Delphi  6  里有不同的祖先系。在  Delphi  5  里,它从  TInterfacedObject  继承;现在它从一个新的类  TBaseComponentEditor  继承。类  TComponentEditorClass  现在也是  TBaseComponentEditor  而不是  TComponentEditor  的一个类。这些层次体系上的变化会要求你修改你的旧的  Delphi  工程。提示是 TClassProperty 没有定义,我在 新的DesignIntf里,似乎没有合适的类用来继承;因为没有类直接定义了function GetAttributes: TpropertyAttributes; override;与procedure Edit; override; 但有
IProperty = interface
    ['{7ED7BF29-E349-11D3-AB4A-00C04FB17A72}']
    ...
    function GetAttributes: TPropertyAttributes;
    ...

  ICustomModule = interface
    ['{95DA4A2B-D800-4CBB-B0B8-85AB7D3CFADA}']
    function GetAttributes: TCustomModuleAttributes;
    ...看不懂呢,,,Interface....唉谢谢大家了,, 请看看———

解决方案 »

  1.   

    不知是不是用了 COM 技术,用 I 打头, 但怎么向下兼容呀~~~~~~~~~~~~~
      

  2.   

    我还是想了解其中之关键呀~~~~   高手们,请来谈谈啦,,   似乎确定了,在DELPHI 6下,“组件编辑器” 用上了,COM 技术但我手头没有相关的资料,上网也不太方便,  如果是相关的COM资料,请大家粘出来 ~~ 谢谢谢谢、
    DING····