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
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel