我把上面代码转到BCB下执行怎么会出错?
代码如下:
{
ExcelApplication1->Connect();
ExcelApplication1->Visible[0]=true;
ExcelApplication1->Workbooks->Open("c://11.xls",EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,0);
}
错误提示为:
[C++ Error] PACK.cpp(262): E2285 Could not find a match for 'Workbooks::Open(WideString,OleVariant,OleVariant,OleVariant,OleVariant,OleVariant,OleVariant,OleVariant,OleVariant,OleVariant,OleVariant,OleVariant,OleVariant,int)'
是怎么会事儿?
请教!!![?]