excelapplication1.Workbooks.Open('文件',nil,false,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,0)
好象不行,出现以下错误
[Error] Unit_Glxdh_Ktlx.pas(122): Incompatible types: 'OleVariant' and 'Pointer'
[Error] Unit_Glxdh_Ktlx.pas(122): Incompatible types: 'OleVariant' and 'Pointer'
[Error] Unit_Glxdh_Ktlx.pas(122): Incompatible types: 'OleVariant' and 'Pointer'
[Error] Unit_Glxdh_Ktlx.pas(122): Incompatible types: 'OleVariant' and 'Pointer'
[Fatal Error] QCManager.dpr(30): Could not compile used unit 'Unit_Glxdh_Ktlx.pas'