Linker error on dll project in VS2019

  • Thread starter Thread starter meelawn
  • Start date Start date
M

meelawn

Guest
Hi,

I have a dll application which I try to build, then I get linker error in VS2019 community:

LNK2019 unresolved external symbol _main referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ) .\MSVCRTD.lib(exe_main.obj) 1

I changed the configuration type to .dll after creating project as empty C++ console application.


Regards,

Meelawn

Continue reading...
 
Back
Top