I found some code in a project which looks like that :
int main(int argc, char *argv[]) { // some stuff try { theApp.Run(); } catch (std::exception&a
According the the Windows spec, the main isn't allowed to throw. (practically it results into the message that asks if you want to send the bug-report to Microsoft)
main