It fixed most errors. But one more is still there.
MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
Edit:Fixed it. Changed SubSystem from Windows (/SUBSYSTEM:WINDOWS) to empty box.
But can i somehow get rid of console then?