|
-
Jan 3rd, 2020, 04:12 PM
#29
Re: chrw error 5
 Originally Posted by Elroy
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|