Please add support for widestring parameters
Brought to you by:
harghh
The current implementation does not allow for passing widestrings as function parameters. The WithParams() and ReturnsOutParams() functions copy the in-coming array of const using the function VariantsUtil.ConstArrayToVariantArray.
This function has a case statement allowing for different types to be converted, but does not feature branches for Widestrings or unicode strings.
I have attached a version of VariantsUtil that extends this case statement. It "works for me" but I'm not entirely convinced I've gone the right way about adding the two types.
Regards,
Andrew Napier
andrew.napier@runbox.com
Updated VariantsUtil to allow passing widestrings as parameters
Thank you for this patch. I will review it in the next few weeks and hopefully merge it with the current CVS version.