Doesn't work on 10.2A. I noticed that if you change the 35000 to 20000 you get the following error:
"Could not convert LONGCHAR to cpinternal. (11669)"
The LONGCHAR contains characters which are not in the cpinternal codepage, or the converted string is too large.
If you then lower it to...