Anyone experience this?

I have the following text and when i get to the htmllibgettextselection it 
crashes:
if (eventP->data.menu.itemID == HTMLPageCopyTextOnPage)
{
    if (HtmlLibGetTextSelection(HTMLRefNum,gHtmlLibH,&selectedStr))
    {
        ClipboardAddItem(clipboardText,selectedStr,StrLen(selectedStr));        
                        
        if (selectedStr)
            {MemPtrFree(selectedStr);}
    }
}
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to