返回一个数组在ASP中访问需要使用variant类型里面包含一个SAFEARRAY
HRESULT GetArray([out,retval]Variant *pVal);
然后
SAFEARRAY *pSa;
//构造pSa
pVal->parray=pSa;