Atozed Forums

Full Version: CrossTalk interface error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone,
I installed crosstalk. I added NET.mscorlib to the uses unit. But I am getting the following error while compiling. does anyone have an idea about this?

[Image: 1.jpg]

[Image: 2.jpg]

[Image: 3.jpg]

[Image: 4.png]

[Image: 5.png]
(11-25-2022, 12:50 PM)delphi.developer Wrote: [ -> ]I added NET.mscorlib to the uses unit. But I am getting the following error while compiling. does anyone have an idea about this?

interface is a reserved keyword in Delphi, it can't be used as an identifier.
(11-25-2022, 09:23 PM)rlebeau Wrote: [ -> ]
(11-25-2022, 12:50 PM)delphi.developer Wrote: [ -> ]I added NET.mscorlib to the uses unit. But I am getting the following error while compiling. does anyone have an idea about this?

interface is a reserved keyword in Delphi, it can't be used as an identifier.

you are right.I changed it to &interface. it works now. I hope it won't be a problem later.