link error unresolved external symbol _main

September 2, 2010 at 10:32:25
Specs: Windows Vista
I have an ATL component dll that worked fine in debug mode but in release mode I am getting the linker error 'unresolved external symbol _main'. My dll doesn't use MFC and the entry point is the DLL Main. Do anyone have any idea how to remove this error?

See More: link error unresolved external symbol _main

Report •

September 2, 2010 at 14:46:15
If it complies on the Debug build, I'd check the solution's settings, and make sure the entry point is consistent for both.

Report •
Related Solutions

Ask Question