W
wiseinfo
Unregistered / Unconfirmed
GUEST, unregistred user!
情况是这样的,在以前DELPHI2006或最新的DELPHI2007,EHLIB能够正常安装与使用 ,但从EHLIB继承的控件安装不上去,还提示RLINK32错误,为这问题我重装过N次WINDOWS了,不会与DELPHI7相干扰的可能
>>>>>>>>>>>>请大家注意,EHLIB本身安装没有任何问题,<<<<<<<<
>>>>>>>>>>>>是从EHLIB继承过来的控件安装有问题<<<<<<<<<<<<<<<<<<
我发现这原因还是DELPHI的问题,相对DELPHI7我分析下:
1.在DELPHI2007先安装好Ehlib控件包DclEhlib100.bpl(设计时),Ehlib100.bpl,直接使用EHLIB的控件一切正常!
2.我新建一个Package包(PackageVclEx),加入从TDBEditEh继承的控件,简单的用DELPHI的NEW VCL Component建立的个Unit,这时竟然不会自动把Ehlib100加入到requires,
3.编译这个Package,会提示自动加入包dbrtl,vcldb,但还是不会自动加入Ehlib100,Message提示:
[DCC Warning] PackageVclEx.dpk(38): W1033 Unit 'EhLibVCL' implicitly imported into package 'PackageVclEx'
[DCC Warning] PackageVclEx.dpk(38): W1033 Unit 'CalculatorEh' implicitly imported into package 'PackageVclEx'
[DCC Warning] PackageVclEx.dpk(38): W1033 Unit 'DBCtrlsEh' implicitly imported into package 'PackageVclEx'
[DCC Warning] PackageVclEx.dpk(38): W1033 Unit 'ToolCtrlsEh' implicitly imported into package 'PackageVclEx'
看这上面的提示,意思是要我'EhLibVCL,'CalculatorEh',DBCtrlsEh,ToolCtrlsEh这4个Unit加入到当前的PackageVclEx包中,哥们请注意,EHLIB我已经安装了,应该自动将Ehlib100自动加入到requires中才对,
这时没办法,只有手动的将C:/Documents and Settings/All Users/Documents/RAD Studio/5.0/Dcp/Ehlib100.DCP,加入到requires中,再Compile PackageVclEx包,Messages如下:
[DCC Error] PackageVclEx.dpk(32): E1026 File not found: 'EhLib100.drf'
再无论怎么Compile或Build这个Pack都是如上提示,这时再新建一个VCL Forms Application,在FORM上放EHLIB控件就提示,相当于还破坏了原来安装的EHLIB,
Cannot access package infomation for package 'Ehlib100.bpl'
无奈,再打开DclEhlib100,编译安装,再NEW一个VCL Forms Application,在FORM放入EHLIB控件,一切OK,
再Close all ,Open PackageVclEx,再Compile ,严重的 error Messages:
[DCC Error] PackageVclEx.dpk(32): E2161 RLINK32: Error opening file "R:/vcl/vcl10/EhLib4.1.4/Common/EhLib100.drf"
[DCC Error] PackageVclEx.dpk(35): F2063 Could not compile used unit 'DBEditEx.pas'
再弹出一个对话框:
Resource DBSMDOWNEH not found.
大约就这情况了,为大家准备了200分分享,,,保证顶者有份,
>>>>>>>>>>>>请大家注意,EHLIB本身安装没有任何问题,<<<<<<<<
>>>>>>>>>>>>是从EHLIB继承过来的控件安装有问题<<<<<<<<<<<<<<<<<<
我发现这原因还是DELPHI的问题,相对DELPHI7我分析下:
1.在DELPHI2007先安装好Ehlib控件包DclEhlib100.bpl(设计时),Ehlib100.bpl,直接使用EHLIB的控件一切正常!
2.我新建一个Package包(PackageVclEx),加入从TDBEditEh继承的控件,简单的用DELPHI的NEW VCL Component建立的个Unit,这时竟然不会自动把Ehlib100加入到requires,
3.编译这个Package,会提示自动加入包dbrtl,vcldb,但还是不会自动加入Ehlib100,Message提示:
[DCC Warning] PackageVclEx.dpk(38): W1033 Unit 'EhLibVCL' implicitly imported into package 'PackageVclEx'
[DCC Warning] PackageVclEx.dpk(38): W1033 Unit 'CalculatorEh' implicitly imported into package 'PackageVclEx'
[DCC Warning] PackageVclEx.dpk(38): W1033 Unit 'DBCtrlsEh' implicitly imported into package 'PackageVclEx'
[DCC Warning] PackageVclEx.dpk(38): W1033 Unit 'ToolCtrlsEh' implicitly imported into package 'PackageVclEx'
看这上面的提示,意思是要我'EhLibVCL,'CalculatorEh',DBCtrlsEh,ToolCtrlsEh这4个Unit加入到当前的PackageVclEx包中,哥们请注意,EHLIB我已经安装了,应该自动将Ehlib100自动加入到requires中才对,
这时没办法,只有手动的将C:/Documents and Settings/All Users/Documents/RAD Studio/5.0/Dcp/Ehlib100.DCP,加入到requires中,再Compile PackageVclEx包,Messages如下:
[DCC Error] PackageVclEx.dpk(32): E1026 File not found: 'EhLib100.drf'
再无论怎么Compile或Build这个Pack都是如上提示,这时再新建一个VCL Forms Application,在FORM上放EHLIB控件就提示,相当于还破坏了原来安装的EHLIB,
Cannot access package infomation for package 'Ehlib100.bpl'
无奈,再打开DclEhlib100,编译安装,再NEW一个VCL Forms Application,在FORM放入EHLIB控件,一切OK,
再Close all ,Open PackageVclEx,再Compile ,严重的 error Messages:
[DCC Error] PackageVclEx.dpk(32): E2161 RLINK32: Error opening file "R:/vcl/vcl10/EhLib4.1.4/Common/EhLib100.drf"
[DCC Error] PackageVclEx.dpk(35): F2063 Could not compile used unit 'DBEditEx.pas'
再弹出一个对话框:
Resource DBSMDOWNEH not found.
大约就这情况了,为大家准备了200分分享,,,保证顶者有份,