[fpc-devel] Small Wstrings problem

Florian Klaempfl florian at freepascal.org
Mon Jun 27 13:53:46 CEST 2005

Martin Schreiber wrote:

> On Monday 27 June 2005 11.38, Peter Vreman wrote:
>>Move all FPC_CHECKPOINTER calls to a function tcg.maybe_checkpointer()
>>that also requires a tdef as argument. Make an exception for
>>tdef=widestring under windows.
> Does it work with pwidechar(widestring) or pwidechar(@widestring[index])?
> We should have an additional string type 'OLEString' or 'BSTR' on windows, 
> 'widestring' should remain reference counted and heap based on all platforms.

That won't like people who count on delphi compatibility. Maybe we should make
the widestring heap allocation through the widestring manager so heaptrace can
hook it.

More information about the fpc-devel mailing list