When I execute " pdescricao: = oRich: SaveAsRTF () " the following error is occurring:
xb_free called with null to pointer
- Code: Select all Expand view
DEFINE DIALOG oDlg RESOURCE "SAC170IA"
oRich := TRichEdit():Redefine( 103, { || "" }, oDlg )
oRich:lHighLight = .f.
oRich:SetText( pDescricao)
ACTIVATE DIALOG oDlg
pdescricao := oRich:SaveAsRTF()