Original Post
Hi I am currently trying to use spidermonkey in my game engine however I am having problems using the generated .dll file. I compiled the SpiderMonkey engine using VS .Net 2003 and it build fine and output a .dll file along with the lib and exe. Whenever I try to build some example code that uses the engine, I get:
fatal error C1083: Cannot open include file: 'jsapi.h': No such file or directory
I placed the js32.dll in my System32 directory but it still doesnt work. Also, when I try to add the dll as a resource, I get an error from VS .Net saying it cannot add the resource. So then I thought maybe it was because the dll was not registered so I ran Regsvr32 js32.dll, but that gives me an error saying it cannot find js32.dll DLLInstall entry point. How do I get it to work? I tried searching the forums but the searching mechanism is currently down. Thanks -Digga