problem with savetofile TWPRichText

  • Hi, I am using WPTools 4.20 in Delphi7 and I have a problem with the recording of rtf file.
    I use the component TWPRichText. My document contains insert points and bokmarks and when I use the command rtfText.savetofile('C:\text.rtf') my program stop and the length of file text.rtf increases as in a lopping until I terminate my program.

    I did change the mothod of record: first I save in a Stream and later I execute stream.savatofile(), but the Windows shows the message "out of memory".

    What I do?

    Thanks.