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!

How do I resolve unresolved extern error? 1

Status
Not open for further replies.

jvff

Programmer
Apr 1, 2001
64
BR
Hello,
Can somebody help me resolve these three (3) linker errors?:

1. nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex

2. nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex

3. Debug/InstallerPro.exe : fatal error LNK1120: 2 unresolved externals

Thank you,

JVFF
 
Search Q126646 and Q128641 in MSDN. I think that these topics are useful for you. Also you can simply enter "__endthreadex" in search box and press enter.

 
What type of project are you building? Win32, Win32 console and are you intentionally using threads?

I often have students who intend to build a Win32 Console Application (which doesn't normally have thread support) and they accidentally select Win32 Application (which does require thread support). If that is your situation, then you might want to restart the project making sure that you've selected the correct project type (you only need to move the existing files into your project folder).

If, however, you're sure that you're using the correct type you might want to change the project settings (Project->Settings... or Alt+F7) and change the MFC class support from "Not using MFC" to one of the other two options.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top