view EXCLUDE/GLIMM/src/Main.cpp @ 4741:bb189d44af16

Added GLIMM (using IMM instead of TSF) Uses small bit of TSF to fully disable cicero (TSF for non-TSF enabled apps)
author dewyatt
date Wed, 30 Jun 2010 17:29:20 -0400
parents
children
line wrap: on
line source

#include "App.hpp"
#include <stdexcept>

int main(int argc, char *argv[])
{
	int Result = EXIT_SUCCESS;
	try
	{
		App theApp;
		theApp.Run();
	}
	catch (const std::exception& e)
	{
		printf("Error: %s\n", e.what());
		Result = EXIT_FAILURE;
	}
	catch (...)
	{
		printf("Unhandled exception\n");
		Result = EXIT_FAILURE;
	}
	system("PAUSE");
	return Result;
}