Hi,
Or perhaps it is better to use gvector rather than TInterfaceList?
If you only store a specific interface type then using one of the
generic containers specialized to that type would indeed be best.
and on a closer look TInterfaceList does a lot of locking.
guess TInterfaceList
Benito van der Zander schrieb am So., 7. Apr. 2019,
15:34:
> Writing (list.get(0) as ISomeInterface), is very slow and not possible,
> when the interface has no GUID.
>
This is indeed what is supposed to be used with TInterfaceList.
Or perhaps it is better to use gvector rather than
Hi,
how should one use TInterfaceList with other interfaces than IUnknown?
Let's say we have a ISomeInterface derived from IUnknown.
When we have an ISomeInterface, we can add it to the list fine, because
an ISomeInterface is an IUnknown.
But when we get it back from the list, it is an