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

后端 未结 9 591
悲哀的现实
悲哀的现实 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:54

    You are writing a console program as the entry point is main(). For graphical based Windows applications, entry point should be WinMain http://msdn.microsoft.com/en-us/library/windows/desktop/ms633559(v=vs.85).aspx

提交回复
热议问题