Are we allowed to use a __TRY block in a function that's called by a function with its own __TRY block for the same exception?
Any other restrictions on __TRY/__EXCEPT I should know about? No returning or gotos out of each block, right?
Thanks, --Juan
__________________________________ Discover Yahoo! Stay in touch with email, IM, photo sharing and more. Check it out! http://discover.yahoo.com/stayintouch.html
Juan Lang wrote:
Are we allowed to use a __TRY block in a function that's called by a function with its own __TRY block for the same exception?
Yes, exception handlers can be nested.
Any other restrictions on __TRY/__EXCEPT I should know about? No returning or gotos out of each block, right?
From include/wine/exception.h: * Warning: inside a __TRY or __EXCEPT block, 'break' or 'continue' statements * break out of the current block. You cannot use 'return', 'goto' * or 'longjmp' to leave a __TRY block, as this will surely crash. * You can use them to leave a __EXCEPT block though.