I want to get address of each overloaded class constructor.
TSomeClass = class
public
constructor Create; overload;
constructor Create(Value: String); overload;
end;
procedure Problem;
var
Address1, Address2: Pointer;
begin
Address1 := @TSomeClass.Create;
Address2 := @TSomeClass.Create; // I want the address of constructor Create(Value: String) here.
end;
How can I get the address of the constructor Create(Value: String)? Any help would be appreciated. Thanks.