apostolchopov
Programmer
Hi, fellows!
In on the files installed during Delphi setup called 'Rio.h' I noticed a strange and unacceptable (in my view) interface definition. In this file are defined clases, interfaces, etc. that support the Web Service integration into Delphi. So, I came upon the following strange piece of code:
IRIOAccess = interface
['{FEF7C9CC-A477-40B7-ACBE-487EDA3E5DFE}']
function GetRIO: TRIO;
property RIO: TRIO read GetRIO;
end;
This piece of code really breaks the protocol established by COM. Each COM interface must contain IUknown's methods QueryInterface, AddRef and Release. Therefore, this is not a COM interface. Why its existence is allowed in Delphi?
How could this happen in Delphi?
Regards!
In on the files installed during Delphi setup called 'Rio.h' I noticed a strange and unacceptable (in my view) interface definition. In this file are defined clases, interfaces, etc. that support the Web Service integration into Delphi. So, I came upon the following strange piece of code:
IRIOAccess = interface
['{FEF7C9CC-A477-40B7-ACBE-487EDA3E5DFE}']
function GetRIO: TRIO;
property RIO: TRIO read GetRIO;
end;
This piece of code really breaks the protocol established by COM. Each COM interface must contain IUknown's methods QueryInterface, AddRef and Release. Therefore, this is not a COM interface. Why its existence is allowed in Delphi?
How could this happen in Delphi?
Regards!