xe6

[dcc32 Fatal Error] ToolsAPI.pas(18): F1026 File not found: 'E:\...\DockForm.dcu'

delphi,xe6,包含了DesignEditors, DesignIntf文件后,报错。ToolsAPI.pas里有DockForm的引用

这要是安装控件,添加DesignIde.dcp到成功就可以了

但现在普通的vcl app

新建空白工程,加入下面代码,CB XE6中可以编译成功,Delphi XE6反倒不成功了

#include <DesignEditors.hpp>
class TFieldsProperty : public TStringProperty
{
public:
    void __fastcall GetValues(TGetStrProc Proc);
    TPropertyAttributes __fastcall GetAttributes(void);

};
View Code
uses  DesignEditors
type
  TFieldsProperty = class(TStringProperty)
  public
    procedure GetValues(Proc: TGetStrProc); override;
    function GetAttributes: TPropertyAttributes; override;
  end;
View Code

 

 

c++builder 6

[Linker Fatal error] Unable to open file 'DESIGNEDITORS.OBJ'

本人已经生成了文件,

拷贝到D:\Program Files (x86)\Borland\CBuilder6\Source\Toolsapi,然后当前工程lib路径加入就可以了。

posted on 2014-07-29 10:15  lypzxy  阅读(832)  评论(0编辑  收藏  举报