错误信息:
[Error] ExcelReport_TLB.pas(182): Property setters cannot take var parameters大家帮忙看看怎么回事? 谢谢!

解决方案 »

  1.   

    com贴出 
    ExcelReport_TLB.pas 的182行 瞅瞅
      

  2.   

    第182行:
        property SP: Smallint read Get_SP write Set_SP;
      

  3.   

    对了,还有一堆的这样的错误,错误行代码如下:
    property path: WideString read Get_path write Set_path;
        property PathEmptyFile: WideString read Get_PathEmptyFile write Set_PathEmptyFile;
        property SQLStr1: WideString read Get_SQLStr1 write Set_SQLStr1;
        property SQLStr2: WideString read Get_SQLStr2 write Set_SQLStr2;
        property SQLSP: WideString read Get_SQLSP write Set_SQLSP;
      

  4.   

    你也多提供一点信息:你使用这个com那段代码?
      

  5.   

    這不是DELPHI產生的錯誤,你VB的ACITVEX本上類型使用不夠標準。
      

  6.   

    这应该是vb所用的数据类型delphi不认识的原因。
      

  7.   

    谢谢各位了,后来用Delphi 7就可以用了:)