Hi This is how I did it. May be there's a better way?? Read the help of ClipboardGetItem.
FldCopy(fldP);
hTemp = ClipboardGetItem(clipboardText,&nLen);
strTemp = MemHandleLock(hTemp);
strTemp2 = MemPtrNew(nLen+1);
for(i=0;i<nLen;i++)
strTemp2[i] = strTemp[i];
strTemp2[nLen] = '\0';
Cheers,
Nihar
"Dream beyond your dreamz"
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
