I would like to replace the create constructor in a subclass of TObject, like this :
MyClass = class
SomeVar : String;
constructor Create(A : String);
constructor MyClass.Create(A : String);
SomeVar := A;
But at the assignment I get an application error, so something is wrong. Any idea ? TObject.Create is static, so why can't I just redefine the Create method ?
Any should I subclass TPersistent instead of TObject ?