Quantcast
Channel: ClearScript
Browsing all 2297 articles
Browse latest View live

New Post: Exception propagation from C# to Javascript

Hi, I tried err.hostException, but this came as null. I then added HostFunctions as host object and tried your next suggestion. But looks like HostFunctions does not have tryCatch(). My Clearscript...

View Article


New Post: Exception propagation from C# to Javascript

Hi, I guess will need to upgrade, came to know from your responses @related post... Thanks for your suggestions :)...

View Article


New Post: Exception propagation from C# to Javascript

Hi maicalal, Yes, unfortunately you'll have to upgrade to get the newer exception handling features. Cheers!

View Article

New Post: Attempted to read or write protected memory. This is often an...

Hi, I am creating v8 script engine in thread and executing script. a list contains script files which are executed in thread one by one. when more number script files executed "Attempted to read or...

View Article

New Post: Attempted to read or write protected memory. This is often an...

Hi Praveen, Be sure to dispose each instance of V8ScriptEngine when you're done with it. That's absolutely essential in an application that uses multiple instances, as each one holds significant...

View Article


New Post: Attempted to read or write protected memory. This is often an...

Hi, Thank you for reply. I implemented engine pool as as you suggested using ClearScript.Manager and exception is still happens and application gets crashed. this happens when script file list grows to...

View Article

New Post: Attempted to read or write protected memory. This is often an...

Hi Praveen, It's difficult to diagnose your issue without more information, but if the crash happens during V8ScriptEngine construction, then it's nearly certain that you're running out of address...

View Article

New Post: Returning syntax error location

Hi, I seem to have the same problem. I adapted the basic module loader of node.js (native_module.js). Loading a module will call into a run method in the JavaScript module implementation. This in turn...

View Article


New Post: Returning syntax error location

Hi ZoneRunner, Are you seeing this with JScript/VBScript or V8? Thanks!

View Article


New Post: Returning syntax error location

We are using V8.

View Article

New Post: Returning syntax error location

Hi again, Exceptions thrown from V8ScriptEngine, even when passing though multiple host-to-script transitions, should be linked to the root exception via InnerException. Try traversing the exception...

View Article

New Post: Attempted to read or write protected memory. This is often an...

Hi, Please find my application sample to recreate above issue. I also included memory leak script. Thanks Praveen

View Article

New Post: Attempted to read or write protected memory. This is often an...

Hi again, Thanks for sharing your sample! In our tests, your application crashes even when the iteration count is set to 1. The script attempts to create an array of 1,000 strings, each of length...

View Article


New Post: Returning syntax error location

Hi, well it seems the problem is not as easy to describe as I hoped so I have build a small example:public class Program { static void Main(string[] args) { try { var host = new ScriptHost(); dynamic...

View Article

New Post: Returning syntax error location

Hi ZoneRunner, Thanks for posting your sample code! The detail text of exception 1 does appear to be formatted incorrectly. When V8 initially reports the syntax error, ClearScript is confused by the...

View Article


New Post: Returning syntax error location

Great :) Thanks.

View Article

New Post: Bundling Visual C++ dlls along with ClearScript

Could someone please point out the specific Visual C++ Redistributable dll's that needs to be bundled with a project using ClearScript v5.4.2.1? I understand that ClearScript depends on Visual C++...

View Article


New Post: Bundling Visual C++ dlls along with ClearScript

Hi i2infinity, Like most applications with C++ components, ClearScript requires C++ libraries that match the tools that built it. From the ClearScript ReadMe:​ IMPORTANT: If Visual Studio is not...

View Article

New Post: Bundling Visual C++ dlls along with ClearScript

Thanks for getting back. Is there any other way to manually reference only the required Visual C++ DLLs in my project and has someone done it successfully? Preparing each one of the deployment machine...

View Article

New Post: Bundling Visual C++ dlls along with ClearScript

Hi again, How are you deploying your application? Are you using a Windows Installer package? If so, you can include the Visual C++ libraries in the package. Have a look here for more information. To...

View Article
Browsing all 2297 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>