<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=117441421-12062006><FONT face=Arial
color=#0000ff size=2>Can you clarify that for me?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=117441421-12062006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=117441421-12062006><FONT face=Arial
color=#0000ff size=2>Why does it *need* to be referenced with an
IInterfaceList?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=117441421-12062006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=117441421-12062006><FONT face=Arial
color=#0000ff size=2>I've just started using a TInterfaceList to hold
references to interfaces, but I don't see why I have to use interfaces WRT the
list itself?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=117441421-12062006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=117441421-12062006><FONT face=Arial
color=#0000ff size=2>Having said that, I have an issue where I have to
explicitly call _AddRef on the interface I'm adding to my interfacelist to keep
it alive. Could these two things be related?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=117441421-12062006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=117441421-12062006><FONT face=Arial
color=#0000ff size=2>Grateful for your thoughts...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=117441421-12062006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=117441421-12062006><FONT face=Arial
color=#0000ff size=2>C.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma><FONT size=2><B>From:</B> delphi-bounces@ns3.123.co.nz
[mailto:delphi-bounces@ns3.123.co.nz] <B>On Behalf Of </B>Phil
Middlemiss<BR><SPAN class=117441421-12062006><FONT face=Arial
color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>No, it wasn't a
typo - he needs to *create* a TInterfaceList - but that list needs to be
*referenced* with an IInterfaceList. It was intentional to force Thomas to look
up how to end up with a working IInterfaceList.<BR><BR>Conor Boyd wrote: </DIV>
<BLOCKQUOTE
cite=mid8285CB7241FCFC4BB721A6F953F9B35E04A661A3@nzc-ap-xch-01.ap.trimblecorp.net
type="cite">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=552015620-12062006><FONT face=Arial
color=#0000ff size=2>I'm sure it was just a typo, but it should be a
TInterfaceList instead of a TList.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=552015620-12062006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=552015620-12062006><FONT face=Arial
color=#0000ff size=2>Cheers,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=552015620-12062006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=552015620-12062006><FONT face=Arial
color=#0000ff size=2>Conor</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma><FONT size=2><B>From:</B> <A class=moz-txt-link-abbreviated
href="mailto:delphi-bounces@ns3.123.co.nz">delphi-bounces@ns3.123.co.nz</A>
[<A class=moz-txt-link-freetext
href="mailto:delphi-bounces@ns3.123.co.nz">mailto:delphi-bounces@ns3.123.co.nz</A>]
<B>On Behalf Of </B>Phil Middlemiss<BR><SPAN class=552015620-12062006><FONT
face=Arial color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma><FONT size=2><SPAN
class=552015620-12062006></SPAN></FONT></FONT><FONT face=Tahoma><FONT
size=2><SPAN class=552015620-12062006><FONT face=Arial size=2>[snip]</FONT>
</SPAN></FONT></FONT></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><SPAN
class=552015620-12062006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>You should also
be adding it to an IInterfaceList instead of a TList.<BR><BR>
<P><FONT face=Arial size=2>[snip]</FONT> </P></DIV></BLOCKQUOTE></BODY></HTML>