Hi all, I have a mfc application. when I build project in debug and release mode it is ok. When I run debug it's ok, but when I press ESC and exit program windows error beep sound, but program work correctly. When I run release, it doesn't work and a windows error message with 3 button, debug,send and release appear. When I press debug button on win error msg, it open vc6 and show some assmbly code and an error msg "Integer Divided by zero". Do you know where is my mistake and how can I solve that? Thanks