[fpc-devel] FPC 2.3.1 seems a mixed mess with Unicode support
Thaddy
thaddy at thaddy.com
Tue Sep 15 15:31:36 CEST 2009
Martin Schreiber wrote:
> On Tuesday 15 September 2009 15:21:54 Martin Schreiber wrote:
>
>> On Tuesday 15 September 2009 15:07:48 Jonas Maebe wrote:
>>
>>> On 15 Sep 2009, at 14:54, Michael Schnell wrote:
>>>
>>>> Martin Schreiber wrote:
>>>>
>>>>> On Windows widestring is actual a
>>>>> not reference counted OLE-string.
>>>>>
>>>> How can decent (and System independent) coding be done with not
>>>> reference counting (variable length) strings ?
>>>>
>>> Ask Microsoft and Borland. Microsoft defined their OLE-string like
>>> that, and Borland defined Ansistring on Windows that way.
>>>
>> Delphi widestrings on Windows, Kylix widestrings on Linux and Delphi/Kylix
>> ansistrings are reference counted.
>>
>>
> Hmm, this is misleading, again:
>
> Delphi widestrings on Windows are not reference counted, Kylix widestrings on
> Linux and Delphi/Kylix ansistrings are reference counted.
>
> Martin
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
afaik widestrings are reference counted in Delphi. PWideChars not.
More information about the fpc-devel
mailing list