Unresolved External Symbol

I am getting a linker error message I don't understand


>MSVCRT.lib(exe_main.obj) : error LNK2019: unresolved external symbol _main referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@YAHXZ)

Where do I look to fix this?
It's likely one of
- you provided a WinMain() as if you were writing a GUI application.
- the .cpp file containing your main() isn't compiled in your project
- you mis-typed main() as say Main()

Topic archived. No new replies allowed.