Em 24/7/2012 20:17, Ryan Joseph escreveu:
I never heard of this syntax, is it Delphi only?

Trying this I got "Error: Interface type IMyInterface has no valid GUID". What else do I need to do?

The sintaxe i posted is for COM interfaces.

For CORBA interfaces do

  IMyInterface = interface
   ['myintf']
        procedure DoThis (value: integer);
    end;

if delegate.GetInterface('myintf', intfDelegate) then
   intfDelegate.DoThis


Luiz



Thanks.

On Jul 24, 2012, at 4:26 PM, Luiz Americo Pereira Camara wrote:

 if delegate.GetInterface(IMyInterface, intfDelegate) then
   intfDelegate.DoThis

Regards,
Ryan Joseph
thealchemistguild.com <http://thealchemistguild.com>



_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to