Il 10/02/2016 00:22, Denis Kozlov ha scritto:
You create a recursive scenario yourself by calling
Application.ProcessMessages inside of ShowError inside of HandleError
- which is the message handling procedure itself, which is triggered
by Application.ProcessMessages.
That's what I had guessed, but having it confirmed makes me feel better.
Moreover my ShowError is not protected from recursion, because
Application.ProcessMessages is called before incrementing ErrGet.
Therefore in case of recursion, it will attempt to process again the
same message.
I would appear that also Application.ProcessMessages is not protected
against recursion, which is possibly a bug.
Thanks a lot,
Giuliano
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus