C++ debugging using VS 2012
-
18-10-2022 - |
Question
I am new to C++, and my question might be a bit stupid.
I got a big program which was written in C++. The developer built the program in VS 2013, but I only have VS 2012 on my computer. So, I changed the platform toolset from V120 to V110, and changed the ToolsVersion="12.0" to ToolsVersion="4.0". I also have .NET framework 4.5.1, 4.5 installed on my computer. My computer system is windows 7 64 bit.
Then I can successfully build the program. But when I ran it from the debug folder, and loaded my data, I got the error:
"Debug Assertion Failed. Program:C:\windows\system32\mfc110d.dll File:h:\envision\src_6696\envdoc.cpp Line 1633."
I click debug and can find that there is an assertion error:
catch( ... ) { CString msg = "Error thrown during Init() when initializing the "; msg += name; msg += " plugin."; Report::ErrorMsg(msg); ASSERT(0); }
But it is almost impossible for me to figure out where the error is originated from.
So, I have many my specific questions:
- What is the possible problem for this?
- Do I have to use VS 2013 to solve the problem?
- Is it because of the mfc110d.dll or the .netramwork?
Any help will be greatly appreciated. Jim
No correct solution