R.Wieser
2022-01-07 17:19:50 UTC
Hello all,
I've written a method which, using VBScript, accepts a variable number of
arguments, which is described in the IDL as follows :
[vararg] HRESULT Put([in] SAFEARRAY(VARIANT) aList);
But now I want to do the reverse. Call a method with a variable number of
variants and have the called method fill them in.
To be clear about it :
1) I do /not/ want to return a fixed number of results.
2) I do /not/ want the method to return an array and than pick my results
outof that array.
IOW, I want to be able to use :
Put(Var1,Var2,Var3, ...) '<-- This already works
and than :
Get(Var1,Var2,Var3, ...)
Question : is what I'm after at all possible ?
Regards,
Rudy Wieser
I've written a method which, using VBScript, accepts a variable number of
arguments, which is described in the IDL as follows :
[vararg] HRESULT Put([in] SAFEARRAY(VARIANT) aList);
But now I want to do the reverse. Call a method with a variable number of
variants and have the called method fill them in.
To be clear about it :
1) I do /not/ want to return a fixed number of results.
2) I do /not/ want the method to return an array and than pick my results
outof that array.
IOW, I want to be able to use :
Put(Var1,Var2,Var3, ...) '<-- This already works
and than :
Get(Var1,Var2,Var3, ...)
Question : is what I'm after at all possible ?
Regards,
Rudy Wieser