[lazarus] TList FCL Limitation Found
Michael Van Canneyt
michael.vancanneyt at wisa.be
Tue May 25 05:51:10 EDT 1999
On Sat, 22 May 1999, Cliff Baeseman wrote:
> Guys,
> Here is a little something I found after 4 hours of battle with my lex
> scanner conversion. Once I figured this out I had it running in minutes.
>
> TList is limited to 2045 object references. If you try to do more than
> that and immediate access violation will result. I do not know how it
> may affect the FCL code but is something you need to be aware of.
Simple to solve: In Classesh.inc change the MaxListSize to whatever value you want
(line 45)
{ Maximum TList size }
MaxListSize = Maxint div 16;
But it shouldn't give an access violation ? An exception should be thrown ?
Michael.
More information about the Lazarus
mailing list