This commit is contained in:
2022-05-08 07:29:20 +08:00
parent 201cec9c34
commit a0f64376e9
3 changed files with 10 additions and 15 deletions

View File

@@ -146,7 +146,8 @@ BOOL APIENTRY DllMain( HMODULE hModule,
{
case DLL_PROCESS_ATTACH:
#if defined LOCALHOSTS_SWITCH
#if defined COUTWINDOWS_SWITCH
AllocConsole();
freopen(("CONOUT$"), ("w"), stdout);
freopen(("CONOUT$"), ("w"), stderr);