实达企业在线EOL三层系统Delphi源码 到处都有下载,感觉应该会不错,可在delphi2007里面无法正常编译。
很想学习一下,希望那位大侠指导一下
stBillProvider.pas提示编译错误:
[Pascal Warning] stBillProvider.pas(92): W1010 Method 'SetParams' hides virtual method of base type 'TDataSetProvider'
[Pascal Error] stBillProvider.pas(131): E2010 Incompatible types: 'TCustomClientDataSet' and 'TClientDataSet'
[Pascal Error] stBillProvider.pas(134): E2010 Incompatible types: 'TCustomClientDataSet' and 'TClientDataSet'
[Pascal Error] stBillProvider.pas(426): E2003 Undeclared identifier: 'VarIsEmpty'
[Pascal Error] stBillProvider.pas(458): E2003 Undeclared identifier: 'NULL'
[Pascal Fatal Error] Eol.dpk(86): F2063 Could not compile used unit 'stBillProvider.pas'

解决方案 »

  1.   

    BeforeUpdateRecord := mBillBeforeUpDateRecord;stBillProvider.pas(131): E2010 Incompatible types: 'TCustomClientDataSet' and 'TClientDataSet' 
    第一句是语句,第二句就是错误信息BeforeUpdateRecord :描述在provider.Tdatasetprovider
    mBillBeforeUpDateRecord:描述在当前文件中,stBillProvider.TstBillProvider那么我该如何让他们匹配呢?
      

  2.   

    d2007中的toolapi.pas引用了一个dockform的单元
    这个单元根本就找不到几位大侠,能解决吗?