I have just returned to PB as another member asked me to look at an old PB related problem and I have run into some problems.
I have a COM function which has more than 32 parameters, which isn't allowed in PB, so the docu tells me to use a UDT instead and pass it byref.
The problem I have is that the parameters are a mixture of Strings and Variants. So how do I add these to a UDT..??? It seems a UDT must be fixed length and therefore can't contain Variants.
I presume it has something to do with pointers..??
Any help would be much appreciated..
I have a COM function which has more than 32 parameters, which isn't allowed in PB, so the docu tells me to use a UDT instead and pass it byref.
The problem I have is that the parameters are a mixture of Strings and Variants. So how do I add these to a UDT..??? It seems a UDT must be fixed length and therefore can't contain Variants.
I presume it has something to do with pointers..??
Any help would be much appreciated..
Comment