If you need to know if an instance implement certain interface, you can use is
operator
if anInstance is IInterface1 thenbegin end;
Zamrony P. Juhara
On Sat, Dec 21, 2019 at 0:25, Adriaan van Os wrote:
I would like to pass a CORBA interface-type as parameter and test for equality,
So
I would like to pass a CORBA interface-type as parameter and test for equality,
So, for example, I have
{$mode objfpc}
{$interfaces corba}
type
IMyInterface = Interface
[ '{34aad6d0-5884-4143-97c2-b6e330305ae3}']
Function MyFunc : Integer;