Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

link error when using _beginthreadex

Posted on 1998-11-24
1
Medium Priority
?
342 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 300 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

885 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