10-06-2021, 11:57 PM
I am writing for the first time in Lazarus Pascal, instead of Delphi (because it is for a Raspberry Pi).
I use the same code as in my Delphi Appllications, but this does not work in Lazarus:
I get a 'Wrong number of parameters...' on all these lines.
What is the Lazarus compatible format for this?
I use the same code as in my Delphi Appllications, but this does not work in Lazarus:
Code:
TDebugLogEventHandlers = class
// HTTP
class procedure IdHTTPServer1CommandGet(AContext: TIdContext;
ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo);
class procedure IdHTTPServer1Exception(AContext: TIdContext; AException: Exception);
end;
I get a 'Wrong number of parameters...' on all these lines.
What is the Lazarus compatible format for this?