Struggling for an afternoon, only CPPUnit got on VC6.0. faint.
One should pay attention: Compilation switch / MLD or / mL is changed to / MDD or / MD.
Also pay attention to opening the RTTI, otherwise it will run an exception.
However, there is still no problem in .NET 2003, the error message looks still / ml / md problem, however, I have modified this compilation option still does not solve the problem.
depressed.
-------------------------------------------------- -------------
Finally, it is necessary to recompile CPPUnit in VC7.1, and cannot be mixed with VC6.0. I didn't find this problem before?
It also found that VC7.1 is very strong, when compiled, cppunit_assert_equal (12, 13) actually compiled failed, the reason is that this assertion is false during compilation, just strange, here is not a standard library assert, compile If you think this is an assertion? Just only with the Assert inside the flag?