Using Error Catching

Typical Try Catch try { } catch (Exception ^e) { MessageBox::Show(L”Error:\n” + e, L”Error”, MessageBoxButtons::OK, MessageBoxIcon::Error); } Try Catch Without Error Code try { } catch (Exception ^) { } Finally //The ‘finally’ section is optional and goes after the catch section(s) finally { //Any code here will always be run, even if the catch […]

Read More