IInterface was introduced later than Delphi 4. For Delphi 4 you use IUnknown in place of IInterface.
If memory serves, IInterface was introduced in Delphi 6 which was the release corresponding to the Kylix Linux compiler. The change was made to avoid exposing Windows specific IUnknown nomenclature to the new cross-platform Delphi.
IInterfacewas introduced later than Delphi 4. For Delphi 4 you useIUnknownin place ofIInterface.If memory serves,
IInterfacewas introduced in Delphi 6 which was the release corresponding to the Kylix Linux compiler. The change was made to avoid exposing Windows specificIUnknownnomenclature to the new cross-platform Delphi.