Hi I think this problem is in all versions of hugs with the greencard 2, win32 library. I found it in hugs971108. When I try to import a bitmap that is not there, or destroy a window that is already closed, hugs itself crashes with the message "Unexpected signal". I used destroyWindow :: HWND -> IO () loadBitmap :: String -> IO (Bitmap,(Int,Int)) Doing IO error catching doesn't help. In the old version of the win32 library, (hugs970719) you could catch these errors properly. They were classified as "Unrecognised I/O exception!". Cheers Meurig -- Meurig Sage Dept of Computing Science University of Glasgow http://www.dcs.gla.ac.uk/~meurig mailto:[EMAIL PROTECTED]
