Home RAP
New Blog Posts: Merging Reports - Part 1 and Part 2

TStringList access violation on LoadFromFile

edited February 2012 in RAP
Delphi XE, RB 12.05b251. Using the following in RAP results in an access
violation.

var
sl : TStringList;
begin
sl := TStringList.Create;
sl.LoadFromFile('C:\Test\test.txt');
sl.Free;
end;

Without the LoadFromFile, there is no access violation. Also, the same code
could be run in a version of our program with RB 11.07 without receiving the
AV. Are you able to duplicate and fix this? Thank you.

Comments

  • edited February 2012
    This was a known issue with RB 12.05 and the Unicode VCL, there is a patch
    available. Please send an email to support@ and request the patch.


    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited February 2012
    Thank you.

This discussion has been closed.