Dealing with DsgnIntf.pas code trouble Many of you might have experienced problems when trying to use DsgnIntf.pas in applications that are compiled under Delphi 6 or 7. Since the original DsgnIntf.pas code has been splitted up in those newer versions, the following trick helps in most situations: {$UNDEF DEL345} {$IFDEF VER100} {$DEFINE DEL345} {$ENDIF} {$IFDEF VER120} {$DEFINE DEL345} {$ENDIF} {$IFDEF VER130} {$DEFINE DEL345} {$ENDIF}uses {$IFDEF DEL345} DsgnIntf {$ELSE} DesignIntf, DesignEditors, VCLEditors, RTLConsts {$ENDIF};Put the above code at the place that pointed to just DsgnIntf before, and you should be a happy person again. ----------------------------------------------------- 将uses DsgnIntf改为上面的代码,如果还有报DesignIntf未找到错,将delphi目录的Source\ToolsAPI加入你的搜索路径
d6,d7好像都没有哈
是不是在d7里改名了?我搜索DsgnIntf.dcu也没有找到
Many of you might have experienced problems when trying to use DsgnIntf.pas in applications that are compiled under Delphi 6 or 7. Since the original DsgnIntf.pas code has been splitted up in those newer versions, the following trick helps in most situations: {$UNDEF DEL345}
{$IFDEF VER100} {$DEFINE DEL345} {$ENDIF}
{$IFDEF VER120} {$DEFINE DEL345} {$ENDIF}
{$IFDEF VER130} {$DEFINE DEL345} {$ENDIF}uses
{$IFDEF DEL345}
DsgnIntf
{$ELSE}
DesignIntf, DesignEditors, VCLEditors, RTLConsts
{$ENDIF};Put the above code at the place that pointed to just DsgnIntf before, and you should be a happy person again.
-----------------------------------------------------
将uses DsgnIntf改为上面的代码,如果还有报DesignIntf未找到错,将delphi目录的Source\ToolsAPI加入你的搜索路径