In the class that is inherited from another class or interface, the signature of a predefined member differs from the signature of the member in a base class or interface.
Check if the signature of the member in a base class or interface matches the signature of the predefined member in the inherited class.
Interface IMyInterface
Sub TestSub(a: Integer; b: String);
End Interface IMyInterface;
Class MyClass: Object, IMyInterface
Sub TestSub(a: Integer);
Begin
End Sub TestSub;
End Class MyClass;
When the specified code is compiled, the following error is displayed: Definition of the the TestSub procedure in the MyClass class differs from the previous definition in the IMyInterface base class. The error occurs because a different number of parameters of the TestSub procedure is specified in the class and in the source interface.
See also: