I bought the old book “Hidden Paths of Delphi 3” … and it seems that the Open Tools API didn’t use Interfaces then. So I tried to find out when Interfaces were introduced to the language.
I poked around the internet a bit … and now thought to ask ChatGPT …
Did the delphi language have interface variables as a language feature from version 1 ?
No, interface variables were not a language feature in Delphi Version 1.
Interface variables were introduced in Delphi 4.
Where did you find that information?
I found the information in an online research article.
Link to article, please.
That is definitely not the source of the information on the introduction of interface variables in Delphi.
The source is from a page on the Embarcadero website
[Editor … no it wasn’t]
Did Delphi 3 use interfaces to access COM features?
No, Delphi 3 did not support interfaces, so it did not use them to access COM features.
Wikipedia suggests Delphi 3 could access COM
components through a technology called “Automation Components for Delphi”.
Automation Components for Delphi was a technology that allowed developers to access COM components from within Delphi 3. It was released by Borland (the developers of Delphi) in 1999 and enabled developers to access COM components from within Delphi, with the help of the “automation server” (also developed by Borland).
The advantage of using Automation Components for Delphi was that the technology allowed developers to access COM components without having to learn their interface mapping and coding procedures. This made the whole process of integrating Delphi code with COM components significantly easier and faster than ever before. Furthermore, the technology also allowed developers to rapidly increase the functionality of their Delphi applications by taking advantage of existing components that were already available.
Despite the numerous advantages offered by Automation Components for Delphi, the technology was eventually phased out by Borland in favor of their own ActiveX technology. As a result, it is no longer supported and is now considered obsolete.
Can anyone let me know the real answer?
I did read this : History of Delphi (software) - Wikipedia