<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV><FONT face=Arial color=#0000ff size=2></FONT>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><BR>Does that mean
that Free itself reclaims the memory used by the object's fields and
properties but does not release the memory used by the TObject or pointer
itself, where as setting it to nil or executing Destroy does, or does Destroy
do something different?<BR><BR><SPAN class=421274207-22102011><FONT face=Arial
color=#0000ff size=2> </FONT></SPAN></DIV></BLOCKQUOTE>
<DIV class=OutlookMessageHeader lang=fr align=left><SPAN
class=421274207-22102011><FONT face=Arial color=#0000ff size=2>All memory is
released including TObject but the variable pointing to the TObject (fe:
SCStrings) isn't set to nil. It still points to where the TObject was. Warning:
setting a TObject variable to nil does not free the object unless it
is reference counted! Strings and COM style interfaces are reference counted.
Pascal is not VB.</FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader lang=fr align=left><SPAN
class=421274207-22102011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=OutlookMessageHeader lang=fr align=left><SPAN
class=421274207-22102011><FONT face=Arial color=#0000ff
size=2>Ludo</FONT></SPAN></DIV></BODY></HTML>