我以前也遇到过
如果是变体类型数组你可以参考下面方法:
VRet:=ND70Conn.GetEnrollData(2,9527,2,0,dwMachinePrivilege,dwEnrollData,dwPassWord);
if VRet=true then
begin
if VarIsArray(dwEnrollData)then
for i:= VarArrayLowBound(dwEnrollData,1) to VarArrayHighBound (dwEnrollData,1)do
Str:=Str+String(dwEnrollData) ;
edit1.Text:=IntToStr(length(str));
StrMsg.Lines.Add(Str);