"flyker" flyker@everys.com writes:
using Winelib i can write
__TRY { ... } __EXCEPT( ??? ) { ... }
what can i use how EXCEPTION_EXECUTE_HANDLER ?
In general you need to create a function that returns a filter value (EXCEPTION_EXECUTE_HANDLER or EXCEPTION_CONTINUE_SEARCH), and pass that function name in __EXCEPT(). There are many examples of that in the Wine source. As a simplification, if you want to execute the handler in all cases (i.e. your filter function always returns EXCEPTION_EXECUTE_HANDLER) then you can use NULL instead of a function name.