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(); }
int Execute(int argc,const char **argv) { Host *host = new LinuxHost(argc,argv); return host->Run(); }