[fpc-devel] Widestrings in win32

Michael Van Canneyt michael at freepascal.org
Sun Jun 17 12:08:12 CEST 2007



On Sat, 16 Jun 2007, Marco van de Voort wrote:

> > Op Sat, 16 Jun 2007, schreef Marco van de Voort:
> > > 
> > > 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.
> 
> Good, so now we are COM compatible again? This because I am planning to port
> the OpenOffice bridge.
> 
> However that uses COM _and_ packages. (though I hope to get rid of the
> need for pacakges)

How can it require packages ? Packages are just a distribution tool.
The code itself should in no way refer to packages ?

Michael.



More information about the fpc-devel mailing list