Subj : Re: JS_DestroyContext() access violation.. To : njaguar From : Brendan Eich Date : Thu Feb 27 2003 06:23 pm > > >Since my application is a DLL attached to another program, getting a >"real stack dump" isn't as easy as one might think. :P I'm not here to >argue that, I know there's obviously something flawed in my >implementation, and I'm looking to fix that. Are there are tutorials >or docs on how to accurately use JS_BeginRequest and JS_EndRequest? >And don't these require a JS_THREADSAFE version of spidermonkey to be >compiled? > Yes -- if you're not using threads and calling the JS API on more than one thread, then you shouldn't need to worry about any of that. But it wasn't obvious that your embedding is not multi-threaded. Is it? >Lastly, I tried grabbing and compiling JS1.5RC5, but had NO luck >getting it to compile with VC++ 6.. Getting RC3 and 4 to compile I >didn't have issues... > What went wrong? /be .