<div>Thanks Phil, it helps me with a streaming issue.</div>
<div>&nbsp;</div>
<div>Paul<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 01/06/06, <b class="gmail_sendername">Phil Middlemiss</b> &lt;<a href="mailto:phil@tumonz.co.nz">phil@tumonz.co.nz</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div text="#000000" bgcolor="#ffffff">you would still have to create the object that implements that interface using a the corresponding coClass in the type library. Otherwise it is no different to a pointer (well, it is a pointer really) in that it points to nil until you assign it something. The underlying object, once instantiated, is freed automatically since it is reference counted (see TInterfacedObject).
<br><br>Cheers,<br>Phil.<br><br>Paul A Norman wrote: 
<blockquote cite="http://mid7a20a4ed0605311910v77b001d7ne355229111d9a586@mail.gmail.com" type="cite"></blockquote></div>
<div><span class="e" id="q_10b8d6d894ab0da0_1">
<div>Hi to all,</div>
<div>&nbsp;</div>
<div>There is something about tyoelibraries and interfaces that I have never quite grapsed.</div>
<div>&nbsp;</div>
<div>When you declare a 'variable' say for accessing an IxxxSomething as fo example in MSHTML_TLB</div>
<div>&nbsp;</div>
<div>&nbsp;var</div>
<div>&nbsp; myImage : IhtmlImgElement;</div>
<div>&nbsp;</div>
<div>You do not have to create or dispose of it. </div>
<div>Is that because it is only some kind of pointer to something that already latently exists in the Interfac(ed) document?</div>
<div>&nbsp;</div>
<div>Paul</div></span></div>
<div><pre><hr width="90%" size="4">
_______________________________________________
Delphi mailing list
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Delphi@ns3.123.co.nz" target="_blank">Delphi@ns3.123.co.nz</a>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://ns3.123.co.nz/mailman/listinfo/delphi" target="_blank">http://ns3.123.co.nz/mailman/listinfo/delphi</a>
  </pre>
<blockquote></blockquote></div></div><br>_______________________________________________<br>Delphi mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://ns3.123.co.nz/mailman/listinfo/delphi" target="_blank">http://ns3.123.co.nz/mailman/listinfo/delphi</a><br><br><br><br clear="all"></blockquote>
</div><br>