Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linker Errors

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello

When I compile my program in debug config it compiles fine. However, when I compile it in release config I get the following 2 linker errors:

nafxcw.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcw.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex

Any ideas on how to fix it?

Thanks
 
I assume you have included <process.h> I think you may need to go to project settings add libcmt.lib or msvcrt.lib. One is static and one is dynamic. The help file for MSVC shows this

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top