[fpc-pascal] Dynamic messaging in Delphi

Ryan Joseph ryan at thealchemistguild.com
Wed Jul 25 22:36:24 CEST 2012


Now it works! That seems redundant to declare an identifier when the interface name itself is unique. I would think the CORBA style identifier should default to the name of the interface.

Thanks, I wanted this feature for a while now.

On Jul 24, 2012, at 5:56 PM, Luiz Americo Pereira Camara wrote:

> For CORBA interfaces do
> 
>  IMyInterface = interface
>   ['myintf']
>        procedure DoThis (value: integer);
>    end;
> 
> if delegate.GetInterface('myintf', intfDelegate) then
>   intfDelegate.DoThis

Regards,
	Ryan Joseph
	thealchemistguild.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120725/6d78df5c/attachment.html>


More information about the fpc-pascal mailing list