I'm trying to port my app from delphi (2007) to:
Lazarus 0.9.30-0 r FPC 2.4.2 x86_64-linux-gtk 2
I am new to lazarus and to linux.
Now I'm stuck on tstringlist.loadfromfile.
If I do it once it is ok, but twice crashes my program (and if I try to run it within lazarus, the whole computer freezez ... gotta do sudo killall -gtd in a .. emergency box? (ctrl-alt f2))
This fails:
sl1:=tstringlist.create;
sl2:=tstringlist.create;
sl2.loadfromfile('/home/t/test1');
sl1.loadfromfile('/home/t/test2');
The files are identical, tiny files. It does not matter in which order I try to load then. Any clues? (I had some problems trying to uppgrade lazarus, so I grabbed what I got to work, perhaps 0.9.30-0 is not the one to have?)
-Timo