Solved

link error when using _beginthreadex

Posted on 1998-11-24
1
331 Views
Last Modified: 2012-05-04
I'm receiving: "libcpmtd.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
Debug/HarManager.exe : fatal error LNK1120: 1 unresolved externals" when compiling my program.  I suspect that I'm getting this link error because I'v added multithreading capabilities to my program.  I used option /MT when for compiling and still get errors.  Can you help??
0
Comment
Question by:tblackwe
1 Comment
 
LVL 22

Accepted Solution

by:
nietod earned 100 total points
ID: 1178592
Try using /MTd for the debug version of the multi-threaded library.  

Let me know if you have questions.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now