Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Double-byte to Unicode in clipboard
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Double-byte to Unicode in clipboard
Miscellaneous
Thread ID:
01161506
Message ID:
01161506
Views:
55
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.

Thanks in advance.

Ben
Next
Reply
Map
View

Click here to load this message in the networking platform