Example #1
0
	int Execute(HINSTANCE hInstance, int argc, const char **argv){
		Host *host = new kroll::Win32Host(hInstance,argc,argv);
#ifndef DEBUG
		// only create a debug console when not compiled in debug mode -- otherwise, it should be autocreated

		if (host->IsDebugMode())
		{
			RedirectIOToConsole();
		}
#endif
		return host->Run();
	}
Example #2
0
File: host.cpp Project: mital/kroll
	int Execute(int argc,const char **argv)
	{
		Host *host = new LinuxHost(argc,argv);
		return host->Run();
	}