Linking error for Windows app

gosgomik

15-06-2007 19:51:29

I don't wanna see the DOS window and i get this error when i set the project's subsystem as Windows not Console.
MSVCRT.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
Release/nxTutorial102.exe : fatal error LNK1120: 1 unresolved externals

How can i fix this?