-
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
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
Labels
No labels