> However if I paste the text into VFP, the text becomes question marks.
That's because VFP can't handle Unicode text, only multi-byte character strings. When you paste something using the VFP function, VFP will always perform a conversion to ANSI based on your current code page. If you want to access the actual Unicode string, you need to write your own Paste function that uses the same API functions as in Sergey's code to copy to the clipboard.
--
Christof