Need Replacement!

Sorry for the dumb question but is there any replacement code for below code?


__try
{
}
__except(EXCEPTION_EXECUTE_HANDLER)
{
}


Thanks in advance ;)
The standard C++ way of exception handling is with a try-catch pairing.

http://www.cplusplus.com/doc/tutorial/exceptions/
Thanks for the reply and yea that seems to be the answer.

By the is there any workaround like using another custom code or using an api?
A workaround for what? What problem are you trying to work around?
Topic archived. No new replies allowed.