rtf problem

Hello,

Why my program crach with RTF component ?

Source code 6 ko

http://www.alticap.com/download/project.zip


Thank's

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 10:09AM
    hi
    did you place an frrtf object on underlying delphi form.
    regards ;)
  • edited 10:09AM
    yes i have an t
    the error is an eoserror exception 'invalid an windows handle'
    system error 1400

    in FR_Rich unit

    in this function

    procedure TfrRichView.LoadFromStream(Stream: TStream);
    var
    b: Byte;
    n: Integer;
    begin
    inherited LoadFromStream(Stream);
    Stream.Read(b, 1);
    Stream.Read(n, 4);
    if b <> 0 then RichEdit.Lines.LoadFromStream(Stream);
    Stream.Seek(n, soFromBeginning);
    end;

    on Stream.Seek(n, soFromBeginning); line



  • edited 10:09AM
    for information i use delphi 7 with 2.51 in trial mode.
    After error delphi want open fr_class.pas but i have only fr_class.dcu.

    Thank's
  • gordkgordk St.Catherines On. Canada.
    edited 10:09AM
    Hi
    IIRC you cannot modify the fr.inc file in the demo therefore you cannot recompile
    the lib to have the frrxrichedit control.
    regards ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.