Jump to content

Server Side JavaScript with SpiderMonkey


chronisvel

Recommended Posts

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...
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...