RDP-Replay
RDP-Replay copied to clipboard
Catch exceptions in main()?
I expect that exception handling is usually supported by a C++ program. I wonder why your function "main" does not contain corresponding try and catch instructions so far.
How do you think about recommendations by Matthew Wilson in an article?
Would you like to adjust the implementation if you consider effects for uncaught/unhandled exceptions like they are described by Danny Kalev?
The core library (libfreerdp) is in C and does not support error handling. There are some elements of C++ that I'm using (for stream reassembly and SSL processing), so it's a mix. There are no plans to put exception handling in at the moment.