Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with IdHTTPServer in Lazarus
#1
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:

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?
---
Bart Kindt
CEO and Developer
SARTrack Limited
New Zealand
www.sartrack.nz
Reply


Messages In This Thread
Problem with IdHTTPServer in Lazarus - by BartKindt - 10-06-2021, 11:57 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)