Oops
Currently back on 1.1 fpc 2.71 Win32/64. ( Win 7, 64)
I have tried 1.4RC1 and Latest Trunc which are showing the same error, so I have gone back to an old version of FPC and application.
On trying different debuggers I do get occasionally different errors but all when the autosizing is appearing in the debug window.
No Errors in Leakview.
I suspect it is something I am doing, but all that I am doing is changing the text of a bclabel.caption like this
anim_count:=0;
AllDOne:=False;
repeat
anim_count:=succ(anim_count);
if anim_count>3 then anim_count:=0;
case anim_count of
0:show_lab.Caption:='. Reading Data .';
1:show_lab.Caption:='. . Reading Data . .';
2:show_lab.Caption:='. . . Reading Data . . .';
3:show_lab.Caption:='Reading Data';
end;
{ Code to Gather Data Etc
and set AllDone when finished.
}
Until AllDone;
The animation is slow at about 2 changes per second, due to the data coming in from a slow slow device, it can cycle through the animation about 40-100 times before the error pops up.
Hope some of the above helps.