Results 1 to 40 of 57

Thread: chrw error 5

Threaded View

  1. #29
    PowerPoster
    Join Date
    Jun 2013
    Posts
    7,454

    Re: chrw error 5

    Quote Originally Posted by Elroy View Post
    I've never claimed that ChrW doesn't work as it should.
    Yes, it works perfectly for UCS-2 encoded strings.
    As dilettante already pointed out to you - on modern Win-systems there "is no UCS-2".

    So your statement above is still wrong.
    The "helper-function" I've just mentioned (ChrW2), is for UTF-32 input-values
    (it is not really needed, because the ChrW$-function is absolutely capable, to transform 16Bit-UTF16-CodeUnits into BSTR-allocations.).

    HTH

    Olaf
    Last edited by Shaggy Hiker; Jan 3rd, 2020 at 05:00 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width