[fpc-devel] FPC 2.3.1 seems a mixed mess with Unicode support

Martin Schreiber fpmse at bluewin.ch
Tue Sep 15 15:21:54 CEST 2009


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.

Martin



More information about the fpc-devel mailing list