<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>On 18 dec '11, Jonas Maebe wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>On 18 Dec 2011, at 15:45, <a href="mailto:dhkblaszyk@zeelandnet.nl">dhkblaszyk@zeelandnet.nl</a>wrote:</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">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?</blockquote>
<pre>Yes.</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">I tried searching the New and Dispose implementations in the RTL sources, but I just could not find them. What unit are they in?</blockquote>
<pre>They are compiler internals. The compiler translates them into an appropriate combination of getmem/initialize or finalize/freemem. </pre>
</blockquote>
<p>Thanks Jonas, that makes things more clear for me.</p>
<p> </p>
<p>Regards, Darius</p>
<p> </p>
<div> </div>
</body></html>