vc++隐藏控制台窗口

 

#ifdef _UNICODE
    #pragma comment( linker, "/subsystem:\"windows\" /entry:\"wmainCRTStartup\"" ) 
#else
    #pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" ) 
#endif // _UNICODE

//就这么简单哈

 

BOSS

发表评论

PHP Code Snippets Powered By : XYZScripts.com