On 18 dec '11, Jonas Maebe wrote:
> On 18 Dec 2011, at 15:45, dhkblas...@zeelandnet.nl [1]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. Thanks Jonas, that makes things more clear for me. Regards, Darius Links: ------ [1] mailto:dhkblas...@zeelandnet.nl
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal