Step1. Create a console application.
Step2. Add following segment before main() entry function:
#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
Step3. Try to build it. 
Step1. Create a console application.
Step2. Add following segment before main() entry function:
#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
Step3. Try to build it. 
Category:
Tagged with:
Share it: