Menu

#1 Please add support for widestring parameters

open
nobody
None
5
2008-10-23
2008-10-23
Anonymous
No

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

Discussion

  • Nobody/Anonymous

    Updated VariantsUtil to allow passing widestrings as parameters

     
  • Denis A.

    Denis A. - 2009-08-28

    Thank you for this patch. I will review it in the next few weeks and hopefully merge it with the current CVS version.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.