link error when using _beginthreadex

Posted on 1998-11-24
Medium Priority
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??
Question by:tblackwe
1 Comment
LVL 22

Accepted Solution

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

Let me know if you have questions.

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
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…
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 how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

600 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