I'm trying to write Win32 application without using some wizard. I create a project, add a source file to it and write a wmain() function into it, nothing else. But when linking, after compilation, I always get "unresolved external symbol _WinMain@16" message. I've read in help that I have to set (in Project settings) an entry-point symbol value to "wWinMainCRTStartup" to avoid this error. Well, I don't get the message described above anymore, but I get one that's similar: "unresolved external symbol _wWinMain@16". I tried almost everything. What's wrong?