[fpc-pascal] How to set a CORBA interface property (tkInterfaceRaw) through RTTI

Luiz Americo Pereira Camara luizmed at oi.com.br
Tue Jul 20 22:43:31 CEST 2010


Hi,

I've managed to set a COM interface property (tkInterface) through RTTI 
using SetInterfaceProp.

But i could not find a way to set a CORBA interface property 
(tkInterfaceRaw) since SetInterfaceProp expects IUnknown.

In the attached example, when i try to use SetInterfaceProp i get the 
message "Incompatible type for arg no. 3: Got "IMyIntf", expected 
"IUnknown"".

Is there a way to set a CORBA interface property through RTTI?

Luiz

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bugIntfRTTI.lpr
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100720/85c17c1d/attachment.ksh>


More information about the fpc-pascal mailing list