Thank you so much, Danilo!
Regards, Little John
[Windows XP+] Try .. Catch .. EndTry - Error Handling
-
- Addict
- Posts: 4527
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
- Kwai chang caine
- Always Here
- Posts: 5357
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: [Windows XP+] Try .. Catch .. EndTry - Error Handling
Your codes are very often incredible
Sometime, i ask to me, if you not rewrite a clone of PB
Thanks DANILO for sharing
Sometime, i ask to me, if you not rewrite a clone of PB
Thanks DANILO for sharing
The happiness is a road...
Not a destination
Not a destination
Re: [Windows XP+] Try .. Catch .. EndTry - Error Handling
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
The OnError library doesn't seems to be handy usable with such cases
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
Re: [Windows XP+] Try .. Catch .. EndTry - Error Handling
@Danilo
How do we acquire the error number and error message when using your Try/Catch error handling?
Sample code?
How do we acquire the error number and error message when using your Try/Catch error handling?
Sample code?
-
- User
- Posts: 29
- Joined: Sat Oct 26, 2019 6:48 pm
Re: [Windows XP+] Try .. Catch .. EndTry - Error Handling
Hmm...
I came across this and it peaked my interest a bit.
Seems to work.
I came across this and it peaked my interest a bit.
Seems to work.
-
- User
- Posts: 29
- Joined: Sat Oct 26, 2019 6:48 pm
Re: [Windows XP+] Try .. Catch .. EndTry - Error Handling
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?
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?