Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-08

Exception handling in LCLMessageGlue

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Torsten Bonde Christiansen

Hi Lazarus.

Please forgive my ignorance if I'm asking a stupid question.

In the DeliverMessage function in LCLMessageGlue the Application.HandleException is called with __nil__ as argument. Why is the actual target used here? It is already available at this point, and the callback function added with AddOnExceptionHandler supports passing the target as parameter.

I'm not an expert on exception handling and the inner working on the LCL, but from what my research have shown I think it should be possible.

Kind regards,
Torsten Bonde Christiansen.

Reply by email