傻
傻子
Unregistered / Unconfirmed
GUEST, unregistred user!
小弟在应用服务器这个屋里面,有如下代码:
function TDCOMsever.gettabel: OleVariant;
var dbtable:tstrings;
i:integer;
begin
dbtable:=tstringlist.Create;
try
adoconnection1.GetTableNames(dbtable);
result:=vararraycreate([0,dbtable.Count-1],varolestr);
finally
dbtable.Free;
end;
end;
错误提示:undeclared identifier:'vararraycreate'
could not compile used unit 'dco.pas'
function TDCOMsever.gettabel: OleVariant;
var dbtable:tstrings;
i:integer;
begin
dbtable:=tstringlist.Create;
try
adoconnection1.GetTableNames(dbtable);
result:=vararraycreate([0,dbtable.Count-1],varolestr);
finally
dbtable.Free;
end;
end;
错误提示:undeclared identifier:'vararraycreate'
could not compile used unit 'dco.pas'