chicho12
asked on
COM Interface - multiple parameters
Hi,
I am working on a C++ COM interface that gets used by different programs built on VB 6, PowerBuilder, Visual pro.
There a couple of functios that have several parameters & I want to combine all those parameters in to 1 or just a couple of parameters. I was thinking an array or a few parameter arrays.
The parameters are of different types like long, VARIANT_BOOL , BSTR , double
Does anyone have a suggestion of a good approach for this? Maybe an example.
Thanks a lot.
I am working on a C++ COM interface that gets used by different programs built on VB 6, PowerBuilder, Visual pro.
There a couple of functios that have several parameters & I want to combine all those parameters in to 1 or just a couple of parameters. I was thinking an array or a few parameter arrays.
The parameters are of different types like long, VARIANT_BOOL , BSTR , double
Does anyone have a suggestion of a good approach for this? Maybe an example.
Thanks a lot.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
In my case the function will be receiving the values [in]. Will I be able to use the same idea?
Thanks,
Thanks,
ASKER
sorry,
I was assigned to another project. I haven't been able to work on this.
i will give the points to mrblue.
thanks,
Chicho
I was assigned to another project. I haven't been able to work on this.
i will give the points to mrblue.
thanks,
Chicho
struct TestStructType;
to library block if you want you type to be available through type library