Access violation in example
Status: Beta
Brought to you by:
burbelgruff
I built CliPP with Visual Studio 8.0 and tried the
example from the tutorial:
1 javascript_parser parser;
2 context* c=parser.get_context();
3 valueP res = c->global()["Number"](86);
4 valueP hex = res["toString"](16);
5 const char* text = unwrap<const char*>(hex)();
When executing, I get an access violation in line 3
trying to execute get_context() in
operator(BOOST_PP_ENUM_BINARY_PARAMS(N,A,const& a))
from clipp_ptr.hpp.
In the call of scope::lookup shortly before, the given
identifier is only “er” (should be “Number”???).
Can anybody help?
BTW, can I call each Javascript-function in that way? I
actually need to call the “escape”-function.
Many thanks in advance,
Lydia.