This happens if you’re compile/run a Windows app that has a WinMain function, but you chose “Console Application” INSTEAD of
“Windows Application” when you were creating the new project.
You fix this by right clicking on your PROJECT name, then picking the PROPERTIES dialog:
Then change the subsystem to WINDOWS:
NEXT TIME,
to prevent that from happening, make sure you pick WINDOWS APPLICATION at the point where Visual Studio asks you whether you want a console app or a windows app!:
10 comments:
I do not see Subsystem on my Visual Studio 2008. What happens ?
I found it. It is under system under Linker. Thanks.
Thanks buddy!!
Thanks!!!
Thanks,Jimey on he spot
great yaar !!!
Good one ! Solved my Issue !
i've changed it but i still getting the same error :( what can i do ? please
You guys are the best, could have spent eternity
trying to track down this error
2 days after investigating, your answer resolved my issue. Thanks!
Post a Comment