Testing a Variant Output argument in ATL Com object using VB client
I think this should work. assuming you are getting back an array in the
For i = LBound(a) To UBound(a)
This will display the strings in the immediate window.
With reference to above subject i am not getting variant output while
VB client. After calling the method of ATL object in VB, the syntax i used
Consider the ATL object is o and its function is func.
Dim a as variant
o.func a //where a is variant
//In the variant i am passing an array of strings in ATL object i.e.
VT_ARRAY/VT_BSTR.(This is equated in vt of variant a in func of com object)
In the VB client i wanted to know the string array in the variant. Please
know the syntax for testing.