
Passing VARIANT array to COM
Hello,
I do have a structure like this.
Type struct_name
name as string
number as integer
total as long
end type
COM API looks like this
short Fn(VARIANT *pData, long *pNum); //COM function
Function will accept the VARIANT.vt parameter as VT_UI1 | VT_ARRAY and
parray as SAFEARRAY.
How i can call this funtion from VB? And how pointer variables can be
passed to a function.
Sreeram.