I've mailed about this before but got no response. This bug still exists
in hugs971209:

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]

Reply via email to