#include "stdafx.h" #include #include "Exception.h" #include "MyApplication.h" int main(int argc, char** argv) { try { MyApplication my_app; return my_app.run(); } catch (Exception& e) { OutputDebugString("Caught Exception: ["); OutputDebugString(e.get_class_name().c_str()); OutputDebugString("]: "); OutputDebugString(e.get_message().c_str()); OutputDebugString("\n"); return 1; } }