Closed NickHodges closed 7 years ago
Hi Nick,
Today I upgrade to 14.1.6 (I was using 14.1.3) and I did exactly your steps in order, by I didn't get a compiler error.
I check IW.Content.Base.pas:
TContentBase = class(TObject)
protected
...
function Execute(aRequest: THttpRequest; aReply: THttpReply; const aPathname: string;
aSession: TIWApplication; aParams: TStrings): Boolean; virtual; abstract;
...
and I don't find any diference with the TIWBSRestServer redeclaration.
TIWBSRestServer = class(TContentBase)
protected
function Execute(aRequest: THttpRequest; aReply: THttpReply; const aPathname: string;
aSession: TIWApplication; aParams: TStrings): Boolean; override;
May be you keep old files of a previows IW version in you path?
That's entirely possible. I'll give it another try, after scouring for old DCU files.
When I compile a simple application (a TIWBSbutton and a TIWBSLabel) I get the following compiler error
[dcc32 Error] IWBSRestServer.pas(14): E2037 Declaration of 'Execute' differs from previous declaration
Steps to reproduce:
Expected: Application runs Actual: Compiler error