LNK1120: An external command that could not be resolved

Hello, everyone,I recently encountered a tricky problem in a test program: LNK2019 : Unable to parse external symbol main, function “int __cDecl invoke_main(void)” (? invoke_main@yahxz) refers to the symbol project1d :\VTK\ project1\ msvcrtd.lib (exe_main.obj).

Hi,

Please, take a look at this: c - MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup - Stack Overflow . One of the answers is a long investigation procedure for your issue. Tricky indeed.

all the best,

Paulo