[fpc-devel] corba interface casting

Paul Ishenin paul.ishenin at gmail.com
Tue Oct 2 00:50:04 CEST 2012


01.10.12, 23:40, Sven Barth wrote:

>>    I := Intf2(C.GetIntf);
>>
>> Is this ^^^^ a correct interface cast? If not then how to cast one corba
>> interface to another propely?
>>
>> I'm asking because without -CR the code compiles and with it gives an
>> error Error: Class or COM interface type expected, but got "Intf2"
>
> Did you try with "C.GetIntf as Intf2"? That should be the correct way to
> do this...

Yes, but it does not work.

Best regards,
Paul Ishenin



More information about the fpc-devel mailing list