From 0901c3712e45e2b38d961f998bd19ff46b3f1db1 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Tue, 28 May 2024 14:40:25 +0800 Subject: [PATCH] Hide the window for dbgsrv.exe. Fix https://github.com/Vector35/debugger/issues/574 --- core/adapters/dbgengadapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/adapters/dbgengadapter.cpp b/core/adapters/dbgengadapter.cpp index 8186962..b5705df 100644 --- a/core/adapters/dbgengadapter.cpp +++ b/core/adapters/dbgengadapter.cpp @@ -206,7 +206,7 @@ bool DbgEngAdapter::LaunchDbgSrv(const std::string& commandLine) memset(&si, 0, sizeof(si)); si.cb = sizeof(si); memset(&pi, 0, sizeof(pi)); - if (!CreateProcessA(NULL, (LPSTR)commandLine.c_str(), NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi)) + if (!CreateProcessA(NULL, (LPSTR)commandLine.c_str(), NULL, NULL, FALSE, CREATE_NO_WINDOW, NULL, NULL, &si, &pi)) { return false; }