[fpc-devel] Widestrings in win32
Daniël Mantione
daniel.mantione at freepascal.org
Sat Jun 16 21:10:22 CEST 2007
Op Sat, 16 Jun 2007, schreef Marco van de Voort:
> > Op Sat, 16 Jun 2007, schreef Martin Schreiber:
> > =
> > > Hi,
> > > It seems that CG plans to implement an non BSTR widestring type for w=
in32:
> > > http://groups.google.ch/group/borland.public.delphi.non-technical/msg=
/7caeced42f1934a4?hl=3Den&
> > =
> > > The introduced string handling for the "Unicode VCL" is equivalent to=
the =
> > > string handling in MSEgui BTW.
> > =
> > Noted. As COM incompatibilty seems preferable over not working =
> > widestrings, shall I disable the winlikewidestring in 2.1.5?
> =
> Not working? Why is widestring not working? Moreover this would rule out
> getting Delphi (existing Delphi) compatible in the 2.2 series?
When assigning two records/arrays/whatever type containing a =
widestring to another the compiler:
* Two pointers are pointing to the same widestring
* One widestring is lost in memory as a memory leak
Florian has written a proper fix.
Dani=EBl
More information about the fpc-devel
mailing list