error after installing in Delphi 2009

edited 5:26PM in FastReport 4.0
Hello,
I installed today FR 4.109 on Delphi 2009 win32 and when I tried to compile an old project I get this error:

[Pascal Error] frxpngimage.pas(2767): E2064 Left side cannot be assigned to
Line: Byte(Dest^) := fOwner.GammaTable[pByte(Longint(Src) + 2)^]; inc(Dest);

also got some warning:
[Pascal Warning] frxpngimage.pas(1405): W1057 Implicit string cast from 'AnsiString' to 'string'
Line: ErrorOutput := AnsiString(StreamRec.msg);

Please advice

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 5:26PM
    i expect your old project was built in another version of delphi and probably points to the wrong lib path for d2009.
    remember d2009 is a code breaking version of prior delphi code.

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.