[fpc-devel] Widestrings in win32

Daniël Mantione daniel.mantione at freepascal.org
Sat Jun 16 19:52:22 CEST 2007



Op Sat, 16 Jun 2007, schreef Florian Klaempfl:

> Daniël Mantione schrieb:
> > 
> > Op Sat, 16 Jun 2007, schreef Martin Schreiber:
> > 
> >> On Saturday 16 June 2007 08.57, Daniël Mantione wrote:
> >>> Op Sat, 16 Jun 2007, schreef Martin Schreiber:
> >>>> Hi,
> >>>> It seems that CG plans to implement an non BSTR widestring type for
> >>>> win32:
> >>>> http://groups.google.ch/group/borland.public.delphi.non-technical/msg/7ca
> >>>> eced42f1934a4?hl=en&
> >>>>
> >>>> 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?
> >>>
> >> I would appreciate very much. If you can do so, I could restart the testing 
> >> and debugging  of FPC 2.2.
> > 
> > I made the change, could you please test for any problems, as we are 
> > really close to 2.2.0.
> 
> You're aware of the fact that this breaks a lot of code especially
> delphi compatible one? (Ole)Variants on windows are probably broken too.

Yes I am. This is an emergency measure; incompatible widestrings are 
preferable over broken widestrings, which totally blocks the usability of 
FPC 2.1+ for for Martin. I am fully aware of the consequences; all code 
which does something with OLE will not function.

Daniël


More information about the fpc-devel mailing list