<p>Am 09.10.2016 00:13 schrieb "Graeme Geldenhuys" <<a href="mailto:mailinglists@geldenhuys.co.uk">mailinglists@geldenhuys.co.uk</a>>:<br>
><br>
> Hi,<br>
><br>
> Why doesn't CORBA have the equivalent of IInterface?</p>
<p>Because that interface type doesn't need it, just like TP-style objects don't need it. IInterface (aka IUnknown) merely exists due to the reference counting needs.</p>
<p>> This brings me to the second point... No TInterfaceList for CORBA style<br>
> interfaces either. I'm guessing the reason it doesn't exist is again<br>
> down to the fact that there is no base type for CORBA interfaces. To<br>
> work around this, I have to use a TFPList as casting. One glaring<br>
> problem with using TFPList, is that it is NOT thread safe, whereas<br>
> TInterfaceList is a thread safe list. So another thing I'll have to<br>
> implement myself.</p>
<p>You could always use generics, this way you'd need to write your class only once.</p>
<p>Regards,<br>
Sven</p>