2018-09-05 15:47:09 +00:00
|
|
|
#include "stdafx.h"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "Exception.h"
|
|
|
|
|
2018-09-04 19:25:54 +00:00
|
|
|
#include "MyApplication.h"
|
|
|
|
|
2018-09-06 05:14:00 +00:00
|
|
|
int main(int argc, char** argv)
|
2018-09-04 19:41:17 +00:00
|
|
|
{
|
2018-09-05 15:47:09 +00:00
|
|
|
try
|
|
|
|
{
|
2018-09-05 23:10:38 +00:00
|
|
|
MyApplication my_app;
|
2018-09-05 15:47:09 +00:00
|
|
|
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;
|
|
|
|
}
|
2018-09-04 19:25:54 +00:00
|
|
|
}
|