parent
d3ab104818
commit
cf47cdee2d
@ -198,8 +198,7 @@ int main(int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(Console) {
|
if(Console && AllocConsole()) {
|
||||||
AllocConsole();
|
|
||||||
AttachConsole( GetCurrentProcessId() ) ;
|
AttachConsole( GetCurrentProcessId() ) ;
|
||||||
// Don't allow CTRL-C in console to terminate RT
|
// Don't allow CTRL-C in console to terminate RT
|
||||||
SetConsoleCtrlHandler( NULL, true );
|
SetConsoleCtrlHandler( NULL, true );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user