Dear friends:

In my applications I'm using this piece of code to retrieve the clipboard.
I didn't have had any problem, but now that I'm trying to improve another
application in wich I included this code, an error message ("void to char
illegal conversion") appeared.  What is wrong?  How can I solve it? If not,
how shoul I convert clipboard information to text?

-----------------
Word pasteLen;
VoidHand recHandle;
CharPtr  recText;

recHandle = ClipboardGetItem (clipboardText, &pasteLen);
recText = MemHandleLock(recHandle); //the error appears in this line
-----------------

Thank you very much,
Farzin



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to