New Post: Problem dealing with arrays in VBScript
Hello nbgedo! ClearScript does not convert host arrays to VBScript arrays. To retrieve a value from a host array, you have to use a host method. For example: engine.Execute(@" x = arr.GetValue(0) call...
View ArticleNew Post: Marshalling/Proxying between V8 and .Net
If this helps anybody, I encapsulated some of the ideas in this post into a project:https://github.com/eswann/ClearScript.Manager And a Nuget package:https://www.nuget.org/packages/ClearScript.Manager/
View ArticleNew Post: Some basic compiled script questions
If this helps anybody, I encapsulated some of the ideas in this post into a project:https://github.com/eswann/ClearScript.Manager And a Nuget package:https://www.nuget.org/packages/ClearScript.Manager/
View ArticleCreated Unassigned: Removing nuget package doesnt remove post build event [40]
I installed the nuget package and then removed it. Seems to have left behind the post build event command lines. Booo :(
View ArticleClosed Unassigned: Removing nuget package doesnt remove post build event [40]
I installed the nuget package and then removed it. Seems to have left behind the post build event command lines. Booo :(Comments: For NuGet package issues, please contact the package's owners.
View ArticleEdited Unassigned: Removing nuget package doesnt remove post build event [40]
I installed the nuget package and then removed it. Seems to have left behind the post build event command lines. Booo :(
View ArticleSource code checked in, #1ea01c8490b490386a7023c78c22e3af8a471823
Added shared bind cache for improved performance and enhanced binder leak mitigation.
View ArticleNew Post: Problem with C# enumerables (generic, arrays, whatever) with vbscript
I have a List<ISomeInterface> in c# that I am trying to work with in vbscript. While I can access some methods of the list (Count seems to work), I cannot enumerate it, no matter what I seem to...
View ArticleNew Post: Gathering error/exception information when using .Execute
What is the preferred/best way to get error information from the script when using .Execute? Catching 'ScriptEngineException' works... sort of, but it gives very unhelpful data. No line number (from...
View ArticleNew Post: Problem with C# enumerables (generic, arrays, whatever) with vbscript
Greetings! The List class has an indexed property named "Item". This property is exposed as a C# indexer, but you can use it from script in its true form: engine.AddHostObject("list", new...
View ArticleNew Post: Problem with C# enumerables (generic, arrays, whatever) with vbscript
Thank you, that has resolved it!
View ArticleNew Post: Gathering error/exception information when using .Execute
Hi TooSlow, The ErrorDetails property of ScriptEngineException should contain the information you're looking for. However, Windows script engines (JScript and VBScript) only provide this information if...
View ArticleNew Post: Gathering error/exception information when using .Execute
Well, I suppose that is good and bad news, but it gets me to where I need to be, thanks again!
View ArticleCreated Unassigned: Package restore not working [41]
Add the nuget package for Clearscript V8 to a solution, build solution this completes with no errors.Remove folder packages\ClearScript.V8.5.3.10.0, build solution this restores and completes with no...
View ArticleClosed Unassigned: Package restore not working [41]
Add the nuget package for Clearscript V8 to a solution, build solution this completes with no errors.Remove folder packages\ClearScript.V8.5.3.10.0, build solution this restores and completes with no...
View ArticleNew Post: Highly concurrent server design
What do you think about this setup for a highly concurrent server scenario. To give the discussion some context, let us suppose that this server lets people browse a hierarchical filesystem. Let us...
View ArticleNew Post: Highly concurrent server design
Greetings, xenadu! Your application sounds very interesting! One V8Runtime instance [...] Under what scenario would you even want multiple V8Runtime instances? Actually, without multiple V8 runtime...
View ArticleNew Post: Memory consumption
Hello, I'm using clearscripts V8 facilities to process datasets in an ETL application. For each table I create a V8Runtime, for each row a V8Engine. For testing purposes I hand over no HostObjects...
View ArticleNew Post: Memory consumption
Greetings, Joachim! We run several tests before every release to check for memory leaks. For example, we run the SunSpider JavaScript benchmark in a loop for several hours. That test exposes some host...
View Article