It'll convert SEH exceptions into C++ exceptions. You'll be able to use the normal try/catch blocks to catch them.
----- Rom -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Rom Walton Sent: Friday, October 16, 2009 1:53 PM To: Raistmer; [email protected] Subject: Re: [boinc_dev] Disabling BOINC's debugger Go to Project Properties/C/C++/Code Generation section and change the Enable C++ Exceptions option to /EHa. That'll treat SEH exceptions like C++ exceptions. ----- Rom -----Original Message----- From: Raistmer [mailto:[email protected]] Sent: Friday, October 16, 2009 1:49 PM To: Rom Walton; [email protected] Subject: Re: [boinc_dev] Disabling BOINC's debugger yes. ----- Original Message ----- From: "Rom Walton" <[email protected]> To: "Raistmer" <[email protected]>; <[email protected]> Sent: Friday, October 16, 2009 9:34 PM Subject: RE: [boinc_dev] Disabling BOINC's debugger Are you building your app with Visual Studio? ----- Rom -----Original Message----- From: Raistmer [mailto:[email protected]] Sent: Friday, October 16, 2009 1:32 PM To: Rom Walton; [email protected] Subject: Re: [boinc_dev] Disabling BOINC's debugger I use try{ function_call(); }catch(...) { handler(); } but still got BOINC's debugger called... ----- Original Message ----- From: "Rom Walton" <[email protected]> To: "Raistmer" <[email protected]>; <[email protected]> Sent: Friday, October 16, 2009 8:59 PM Subject: RE: [boinc_dev] Disabling BOINC's debugger The exception handling code on Windows only kicks in if no other exception handling mechanism is used. Just define an exception handler of some sort and you should be good to go. Just remember, on Windows there are two different exceptions that can be thrown. C++ exceptions and SEH exceptions. C++ exceptions use the try()/catch() stuff everybody is used too, SEH exceptions use __try/__catch. ----- Rom -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Raistmer Sent: Friday, October 16, 2009 12:50 PM To: [email protected] Subject: [boinc_dev] Disabling BOINC's debugger Hello Is it possible to give control for exception handling back to science app? What BOINC API call I should comment out to do this? Need exception handling inside app....to catch exception instead of writing to stderr and trashing task... _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address. _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address. _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
