2

It seems that Delphi 4 does not have IInterface type at all in system.pas

How can I define this type myself so that I can use JEDI?

Guillem Vicens
  • 3,936
  • 30
  • 44
Tom
  • 6,725
  • 24
  • 95
  • 159

1 Answers1

5

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.

Rudy Velthuis
  • 28,387
  • 5
  • 46
  • 94
David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490