On Thu, 4 Jun 2020, Luca Olivetti via lazarus wrote:
FServer.Port:=8080; FServer.Threaded:=true; FServer.Run; except on E:Exception do begin writeln(E.Message); sleep(1000); FServer.Free; end; end;Oh, and I had to do some more overriding so that the response could have a reference to the calling thread (needed if I want to use synchronize).
That seems a bit strange, since you can do synchronize without needing access to the thread object using a class method of TThread ? Can you send me the changes you had to do ? Michael.
-- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus