chronisvel Posted December 24, 2016 Posted December 24, 2016 Hi, I tried implementing server side javascript with mormot SpiderMonkey, SyNode. I always get an error : Project XXXXX.exe raised exception class $C0000005 with message 'c00000005 ACCESS_VIOLATION' When running the same lines of code in a VCL application everynting works fine. The exception Is raised in Spidermonkey Unit in the line : function JS_NewRuntime(maxbytes: uint32; maxNurseryBytes: uint32; parentRuntime: PJSRuntime): PJSRuntime; cdecl; external SpiderMonkeyLib; What should I do? Is mormot's implementation incompatible with uniGui? If so what are my alternatives? Thanks... Quote
chronisvel Posted December 26, 2016 Author Posted December 26, 2016 I found out what caused the problem. I missed InitJS and ShutDownJS calls. Everything works fine... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.