Skip to content

CORBA Interfaces and GUIDs #29

@PawelOkrzesik

Description

@PawelOkrzesik

Hello,
This refers to "10.1. Interfaces GUIDs"

https://www.freepascal.org/docs-html/ref/refse50.html
"Corba interfaces are identified by a simple string so they are assignment compatible with strings and not with TGUID."

If I understand correctly, using GUIDs is not necessary for CORBA interfaces, any string can be used in ['...'] for interface identification (but unfortunately still must be used). So this:

  IMyInterface = interface
  ['{79352612-668B-4E8C-910A-26975E103CAC}']
    procedure Shoot;
  end;

can be written in a bit nicier way:


  IMyInterface = interface
  ['IMyInterface']
    procedure Shoot;
  end;

"class is interface" operator seems to work properly for this as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions