Create an Application without a Window

后端 未结 7 1437
一个人的身影
一个人的身影 2020-11-28 09:15

How would you program a C/C++ application that could run without opening a window or console?

7条回答
  •  无人及你
    2020-11-28 09:53

    In Visual Studio Express 2010 after setting the subsystem to windows (as suggested by user17224), alternatively to changing the main to WinMain (as suggested by user17224 and Brian R. Bondy), one can set the entry function to main in properties, linker, advanced, entry point: just type main in the text box.

提交回复
热议问题