Is it not possible to create COM objects with the java script engine that comes with UltraEdit?
Why does not the lines below work?
var obj = WScript.CreateObject("MyComServer.MyObject");
var res = obj.MyMethod("test");
I get this error message:
An error occurred on line 7:
obj = WScript.CreateObject("MyComServer.MyObject");
Script failed.
These lines of code executes just fine when I run the script outside UltraEdit (e.g. with the WScript.exe engine).
Regards
/Thomas
Why does not the lines below work?
var obj = WScript.CreateObject("MyComServer.MyObject");
var res = obj.MyMethod("test");
I get this error message:
An error occurred on line 7:
obj = WScript.CreateObject("MyComServer.MyObject");
Script failed.
These lines of code executes just fine when I run the script outside UltraEdit (e.g. with the WScript.exe engine).
Regards
/Thomas