SAFEARRAY *psa;
SAFEARRAYBOUND rgsabound[1];
psa = SafeArrayCreate(VT_UI1, 1, rgsabound);
SafeArrayPutElement (psa, &i, pBuf++);
我在读取一个文件到数据库里面。
哪位老兄帮我解释一下
SAFEARRAY 怎么使用,还有SAFEARRAYBOUND是什么意思???
SAFEARRAYBOUND rgsabound[1];
psa = SafeArrayCreate(VT_UI1, 1, rgsabound);
SafeArrayPutElement (psa, &i, pBuf++);
我在读取一个文件到数据库里面。
哪位老兄帮我解释一下
SAFEARRAY 怎么使用,还有SAFEARRAYBOUND是什么意思???
Represents the bounds of one dimension of the array. The lower bound of the dimension is represented by lLbound, and cElements represents the number of elements in the dimension. The structure is defined as follows:typedef struct tagSAFEARRAYBOUND {
unsigned long cElements;
long lLbound;
} SAFEARRAYBOUND;