Solved

link error when using _beginthreadex

Posted on 1998-11-24
1
335 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

685 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