Delphi Compiler Error
E2467 Record or object type required
Reason for the Error & Solution
This occurs when trying to access a property from a variable that is not a record or object.
program E2467;
{$APPTYPE CONSOLE}
uses
SysUtils,
IdHTTP;
type TConnector = class
private
HTTP : TIdHTTP;
public
property Request : TIdHTTPRequest read HTTP.Request; // E2467
end;
begin
end.