[fpc-devel] UnicodeString and RTL

Michael Schnell mschnell at lumino.de
Fri Nov 21 10:34:38 CET 2008


> I'm new to this, but as far as I understand, WideString is for
> backward compatibility on Windows olestr type. It's not reference
> counted. Whereas UnicodeString type is reference counted on all
> platforms.
>   
I found the paragraph in the Wiki :) .

I wonder how we should deal with not reference counting strings. I 
suppose it's a similar mess as with dynamic arrays: to free you need to 
do a setlength to 0 or similar.

-Michael



More information about the fpc-devel mailing list