Delphi Error – E2248 Cannot use old style object types when compiling to byte code

Delphi Compiler Error

E2248 Cannot use old style object types when compiling to byte code

Reason for the Error & Solution

Old-style Object types are illegal when compiling to byte code.