Hello,
When I try to run the SampleApp under Utilities, I get inconsistent results.
My platform is VS8.
When SampleApp is run in debug mode with a single command argument, say /h, it gives an "Expression: vector iterators incompatible" assertion error. I tracked this error to be generated at:
Filename: application.cpp
Line: 298
_args.erase(_args.begin());
ArgVec::iterator it = _args.begin();
(:arrow:) while (it != _args.end())
{
std::string name;
std::string value;
if (processor.process(*it, name, value))
{
handleOption(name, value);
_args.erase(it);
}
else ++it;
}
Strangely enough in release mode everything works fine.
Can you help me?





