Solved

link error when using _beginthreadex

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

776 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