Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Double-byte to Unicode in clipboard
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01161506
Message ID:
01161627
Views:
13
Sergey,

It works like a charm!

Many thanks,
Ben


>>I'd like to convert a Chinese character (double-byte) string in the _cliptext into a Unicode string so that the string can be pasted into Word or Excel. In my tests, _cliptext is not able to keep the Unicode got from Strconv(cStr,5). I think I am going to do the reversal of the example http://www.news2news.com/vfp/?function=-1&example=316 using the API function MultiByteToWideChar. I'd be grateful if anybody can show me the code for it.
>
>See if http://sergey.berezniker.com/x/zQE works for you.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform