Hi JC,
It sounds like the named property you're invoking isn't a function :)
The following test program demonstrates the extension module above:
Is there anything you're doing differently?
Thanks!
It sounds like the named property you're invoking isn't a function :)
The following test program demonstrates the extension module above:
Module TestModule Sub Main() Using engine AsNew V8ScriptEngine engine.AddHostType("Console", GetType(System.Console)) engine.Execute("function foo(arg) { Console.WriteLine('Foo: {0}', arg); }") engine.InvokeFunction("foo", {123.456}) EndUsingEndSubEndModule
Thanks!