C++ How do I hide a console window on startup?

后端 未结 9 607
悲哀的现实
悲哀的现实 2021-02-01 05:43

I want to know how to hide a console window when it starts.

It\'s for a keylogger program, but it\'s not my intention to hack someone. It\'s for a littl

9条回答
  •  逝去的感伤
    2021-02-01 05:57

    It is simple. FreeConsole() api will do that magic for you

    BOOL WINAPI FreeConsole(VOID);
    

提交回复
热议问题