[fpc-devel] Unicode resource strings

Sven Barth pascaldragon at googlemail.com
Mon Aug 20 11:43:00 CEST 2012

Am 20.08.2012 10:26, schrieb Martin Schreiber:
> On Monday 20 August 2012 09:52:47 Sven Barth wrote:
>> Just to avoid confusion: The reference counted 2-byte string type on all
>> platforms is UnicodeString, not WideString (the latter is not reference
>> counted on Windows platforms).
> WideString was reference counted on Windows when it was introduced in FPC. The
> FPC revision was 1.9.x IIRC. The first bug report I made in "wide" area is
> from 30.4.2004 and revision 1.9.3.
> http://bugs.freepascal.org/view.php?id=5084
> Later it has been changed to OLE string on Windows because of Delphi
> compatibility.
> http://www.mail-archive.com/fpc-devel%40lists.freepascal.org/msg07520.html
> http://www.mail-archive.com/fpc-devel%40lists.freepascal.org/msg03010.html
> http://www.mail-archive.com/fpc-devel%40lists.freepascal.org/msg03018.html

Now I understand what you ment with "which
were reference counted on all platforms at the beginning!" ;) [I came to 
FPC during the 2.2 series] Thank you for clarification.

Nevertheless to avoid confusion one should pay attention to which string 
type one mentions.


More information about the fpc-devel mailing list