On 18 Dec 2011, at 15:45, dhkblas...@zeelandnet.nl wrote: > It was an > ansistring indeed, and finalize did the trick! Thanks for your help. How > does New and Dispose work btw? Do they use RTTI to call finalize > appropriatly?
Yes. > I tried searching the New and Dispose implementations in > the RTL sources, but I just could not find them. What unit are they in? They are compiler internals. The compiler translates them into an appropriate combination of getmem/initialize or finalize/freemem. Jonas_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal