Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个调用CreateProcess然后退出的 Windows 应用程序。被调用的进程在启动时显示控制台和 GUI 窗口。我想在子进程启动时隐藏它的控制台窗口。
CreateProcess
更多信息:
FreeConsole()
您可以使用该CREATE_NO_WINDOW标志来启动没有控制台窗口的控制台应用程序。和隐藏不一样,但听起来就是你想要的。
CREATE_NO_WINDOW