The functions TTreePage.GetHeight and TTreePage.GetWidth in unit TeeTree.pas contain a try..except-block to catch EPrinter exceptions. In case your printer spooler service is offline, you'll get an exception of type EOSError (RPC server offline) and the application continues throwing exceptions caused by access violations.
My suggestion is to catch any exceptions in these functions, not just those of type EPrinter.
Printer exception handling
Re: Printer exception handling
Hi Collinor,
You are right. I could reproduce it and it seems to be solved both capturing all the exceptions or only the EOSError. I've added it to the wish list to be studied for inclusion in future releases (TV52014924).
You are right. I could reproduce it and it seems to be solved both capturing all the exceptions or only the EOSError. I've added it to the wish list to be studied for inclusion in future releases (TV52014924).
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |