Delphi 2006 - 3 layers - TSocketConnection - TClientDataSet

2

I have an application running in 3 layers.

When the client layer does not find the server or for some other reason, correctly, I pop an error on screen, I'm using TSocketConnections and TClientDataSets.

I just needed to treat or even mask these TSocketConnection errors, so what I need is that even if there is an error that the message does not appear on the screen, the client-side application is now ready to proceed after error, but as the error is presented and it asks for the iteration (click OK), the client part can not proceed.

Thank you all.

    
asked by anonymous 20.04.2017 / 19:07

1 answer

1

If the idea is to collect Socket errors silently, I'd use Log4Delphi .

If the idea is to get to the application level, there are paid tools like EurekaLog and MadException that does it for you.

Or, if you prefer, you can use the JclDebug feature of the Jedi library , which is free.

    
20.04.2017 / 19:30