一、使用宏
#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
使用这种方法时,一般在Visual Studio中运行时不会起效,但是在外部启动应用程序时就会起效。(推荐使用)
一、使用宏
#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
使用这种方法时,一般在Visual Studio中运行时不会起效,但是在外部启动应用程序时就会起效。(推荐使用)