[DUG] (no subject)

Conor Boyd Conor.Boyd at trimble.co.nz
Tue Jun 13 09:18:58 NZST 2006


Can you clarify that for me?
 
Why does it *need* to be referenced with an IInterfaceList?
 
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?
 
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?
 
Grateful for your thoughts...
 
C.

________________________________

From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On Behalf Of Phil Middlemiss
 
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.

Conor Boyd wrote: 

	I'm sure it was just a typo, but it should be a TInterfaceList
instead of a TList.
	 
	Cheers,
	 
	Conor

________________________________

	From: delphi-bounces at ns3.123.co.nz
[mailto:delphi-bounces at ns3.123.co.nz] On Behalf Of Phil Middlemiss
	 
	[snip] 
	 
	You should also be adding it to an IInterfaceList instead of a
TList.
	
	

	[snip] 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060613/0a84c83c/attachment.html


More information about the Delphi mailing list