Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-07

How to set a CORBA interface property (tkInterfaceRaw) through RTTI

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Luiz Americo Pereira Camara

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

Luiz Americo Pereira Camara
to Luiz Americo Pereira Camara
Luiz Americo Pereira Camara wrote 11 lines
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"".

Added a bug report: http://bugs.freepascal.org/view.php?id=17003

Show quoted text 10 lines
Is there a way to set a CORBA interface property through RTTI? Luiz ------------------------------------------------------------------------ _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal