winpos.c & module.c - minor ms-windows compatibility

Boaz Harrosh boaz at hishome.net
Wed Mar 24 04:57:02 CST 2004


Ferenc Wagner wrote:

>It would be possible to enforce timeout to make the run time
>bounded.  Not implemented yet, but on the TODO list.  Have
>you got a better idea?
>  
>
On ms-windows with msvc++ I would have Just put an exception catchall 
handler and would catch 99.99% of possible exceptions.
I think dlls/kernel has such code. Maybe someone knows how to write a 
macro for wine-tests that would let you do something like:

try_test{
       gpf_test() ;
}
catch_test(){
    ok( 0 ,"gpf_test has failed") ;
}

this would certainly let test continue, No ?

<side note>
exceptions is on my TODO list. I'm looking for a way to tie the g++ and 
gcc exceptions to the Wine's structured exceptions, like on windows. For 
winelib apps. Maybe the only way is to back port MinGW for elf.
</side note>

Free Life
Boaz




More information about the wine-devel mailing list