I'm trying to create a simple unit test (using the Unit Test Framework) using boost 1.31.0 + win32 + vc71, but I get the following linker error due to the undefined symbol __imp___CrtSetReportHook:
tests error LNK2019: unresolved external symbol __imp___CrtSetReportHook referenced in function "public: int __thiscall boost::execution_monitor::execute(bool,int)" (?execute@execution_monitor@boost@@QAEH_NH@Z)
There was mention of this undefined symbol (__imp___CrtSetReportHook) in this thread: http://lists.boost.org/MailArchives/boost/msg43787.php. However, that post was concerning the Metrowerks compiler, but I am using Microsoft's vc71 compiler.
Can someone help me resolve this undefined symbol (__imp___CrtSetReportHook) problem? Here is my simple "unit test suite" that I am trying to build:
#include