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. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel