Re: [fpc-pascal] Passing a CORBA interface as parameter

2019-12-20 Thread Zamrony P. Juhara via fpc-pascal
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

[fpc-pascal] Passing a CORBA interface as parameter

2019-12-20 Thread Adriaan van Os
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;