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
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to