I have been doing a bit of experimenting, and have discovered that an exception is being thrown, when an integer divide by zero occurs.
#include
This article claims to have a way to convert a structured exception to a C++ exception using the _set_se_translator function.
http://www.codeproject.com/KB/cpp/seexception.aspx