[lazarus] About AnsiString

Florian Klaempfl Florian.Klaempfl at freepascal.org
Tue Feb 29 07:19:44 EST 2000


Michal Bukovjan wrote:
> 
> I noticed that the whole LCL is not written in AnsiString, but rather short
> strings.
> 
> I remember this was because AnsiStrings were not ready when the LCL/Lazarus
> project was at the beginning.
> 
> My question is, is the AnsiString feature (i.e. huge 2GB strings) already in
> production state and therefore, could we consider to switch to using these
> (the H+ directive)?
> 
> What do you think?
> 

Ansistrings can be used in production, there should no more bugs. Only a
small
problem: ansistrings declared static or global in units (i.e. in the
interface
or implementation) aren't disposed correctly






More information about the Lazarus mailing list