Create new application "Custom CGI Application" compile error
Original Reporter info from Mantis: xmen
-
Reporter name:
Original Reporter info from Mantis: xmen
- Reporter name:
Description:
program cgiproject1;
{$mode objfpc}{$H+}
uses
Classes,SysUtils,httpDefs,custcgi;
Type
TCGIApp = Class(TCustomCGIApplication)
Public
Procedure HandleRequest(ARequest : Trequest; AResponse : TResponse); override;
end;
Procedure TCGIApp.HandleRequest(ARequest : Trequest; AResponse : TResponse);
begin
// Your code here
end;
{$R *.res}
begin
With TCGIApp.Create(Nil) do
try
Initialize;
Run;
finally
Free;
end;
end.
cgiproject1.lpr(11,15) Error: There is no method in an ancestor class to be overridden: "TCGIApp.HandleRequest(TRequest,TResponse);"
Mantis conversion info:
- Mantis ID: 18559
- OS: ubuntu
- OS Build: 10.10
- Build: 16791
- Platform: linux
- Version: 2.3 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 30322 (#a63a06a1)
- Target version: 0.99.0