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

New Post: Scaling V8

Hi Shrainik,​ 25000 Engines divided across 25 runtimes take up 11GB of memory.​ We've reproduced these numbers using a trivial native test program (no .NET, no ClearScript), so V8's implementation...

View Article


New Post: .Net Default Property Recognition

Thank you as well.

View Article

New Post: ActiveXObject implementation

hi, how can i implement an ActiveXObject class? i would add it as host-type

View Article

New Post: ActiveXObject implementation

Hi furesoft, You could implement ActiveXObject as a dynamic object class (see DynamicObject and/or IDynamicMetaObjectProvider). That wouldn't be a trivial project, but it should be possible. We're...

View Article

New Post: validate js

how can i check if the given js is valid?

View Article


New Post: validate js

Hi furesoft, Consider using a JavaScript parsing library. Esprima is one that's written in JavaScript. Cheers!

View Article

New Post: vbs events

hi, how can i use events in vbs?

View Article

New Post: vbs events

Hi furesoft, Are you asking about handling .NET events in VBScript code running in ClearScript? Thanks!

View Article


New Post: vbs events

yes

View Article


New Post: vbs events

Hi again, Suppose you have a .NET class with an event:publicclass Foo { publicevent EventHandler SomethingHappened; publicvoid MakeSomethingHappen() { if (SomethingHappened != null)...

View Article

Commented Issue: [FIXED] Fatal error in heap setup, Allocation failed -...

Hi, While investigating some memory related issues in my application, I managed to reproduce what seems to be a problem. The following minimal application terminates on my PC after ~50 cycles and...

View Article

New Post: Global window object

Is there a way to create a global "window" object. And has it been done already?

View Article

Commented Issue: [FIXED] Fatal error in heap setup, Allocation failed -...

Hi, While investigating some memory related issues in my application, I managed to reproduce what seems to be a problem. The following minimal application terminates on my PC after ~50 cycles and...

View Article


New Post: Global window object

Hi AndersBillLinden, ClearScript lets you expose any .NET object to the script engine. Do you already have an implementation for the object you require? Cheers!

View Article

New Post: Global window object

Yes, I was exposing the window object like this:var engine = new V8ScriptEngine(); engine.AddHostObject("window", new Window()); Then I can have a class Window that looks like this:using System;...

View Article


New Post: Global window object

Seems the forum translated my plus sign, however after I had written this comment, the plus sign was ok again

View Article

New Post: Global window object

Not sure if it is possible in ClearScript but this is what i used var alert = window.alert; var prompt = window.prompt; var confirm = window.confirm;

View Article


New Post: validate js

Jint also has a .NET implementation of Esprima (I have written one myself too for an IDE). So you can also do the code validation in .NET.

View Article

New Post: Global window object

Then I could of course just create some global functions and run the corresponding functions in the window object from them. But javascript has a global object, so if clearscript is a correct...

View Article

New Post: Global window object

Hi AndersBillLinden, The global object is provided by the underlying script engine, and ClearScript does not allow you to replace it. However, ClearScript lets you expose a host object so that its...

View Article
Browsing all 2297 articles
Browse latest View live