Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with IdHTTPServer in Lazarus
#7
You probably missed the end of my previous post:

Your solutions would probably work, but I did it this way, and is works fine now:

var
DebugLogEventHandlers: TDebugLogEventHandlers;

IdHTTPServer1.OnCommandGet := @DebugLogEventHandlers.IdHTTPServer1CommandGet;

It is just that Lazarus does not like a direct call to TDebugLogEventHandlers or @TDebugLogEventHandlers

Thanks Remy
---
Bart Kindt
CEO and Developer
SARTrack Limited
New Zealand
www.sartrack.nz
Reply


Messages In This Thread
RE: Problem with IdHTTPServer in Lazarus - by BartKindt - 10-07-2021, 06:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)