Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-05-28 01:30:25


JD wrote:

> Hi,
>
> When I create a "Windows Forms Application" under Visual C++ Express
> and add these lines to the main .cpp file:
>
>
> #include <boost/program_options.hpp>
> static boost::program_options::variables_map vm;
>
> and then set the the project property 'Common Language Runtime
> support' to /clr (/clr:pure make compilation fails), I got an assertion
> failure on dbgheap.c line 1414, expression:
> _CrtIsValidHeapPointer(pUserData) on the line:
>
> BOOST_PROGRAM_OPTIONS_DECL std::string arg("arg");
>
> in value_semantic.cpp.

I'm afraid I have no clue what's going on. You'd need a VC++/CLR expert.

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net