Page 2 of 2
Re: [Windows XP+] Try .. Catch .. EndTry - Error Handling
Posted: Sat May 26, 2012 9:44 am
by Little John
Thank you so much, Danilo!
Regards, Little John
Re: [Windows XP+] Try .. Catch .. EndTry - Error Handling
Posted: Sat May 26, 2012 9:57 pm
by Kwai chang caine
Your codes are very often incredible

Sometime, i ask to me, if you not rewrite a clone of PB

Thanks DANILO for sharing

Re: [Windows XP+] Try .. Catch .. EndTry - Error Handling
Posted: Tue Jan 26, 2016 10:07 pm
by Lunasole
Thanks, it is very cool and useful and just helped me a lot to avoid whole program crash in cases when loaded external dll fails

(and I guess will help a lot in many other cases where annoying crashes can appear at minor errors)
The OnError library doesn't seems to be handy usable with such cases
Re: [Windows XP+] Try .. Catch .. EndTry - Error Handling
Posted: Thu Sep 12, 2019 3:32 am
by Dawgmann
@Danilo
How do we acquire the error number and error message when using your Try/Catch error handling?
Sample code?
Re: [Windows XP+] Try .. Catch .. EndTry - Error Handling
Posted: Wed Oct 30, 2019 3:13 am
by Dudemeister
Hmm...
I came across this and it peaked my interest a bit.
Seems to work.
Re: [Windows XP+] Try .. Catch .. EndTry - Error Handling
Posted: Fri Nov 01, 2019 3:26 am
by Dudemeister
I've tried this a few times and it seems to work well at trapping critical errors, then allowing the user to continue.
But like the previous poster, I can't figure out how to acquire the error information (error code and description/message) from the 'CurrentExceptionInfo' variable. Does anyone have any ideas how to extract these 2 items of information?
Anyone?