ComObject in r3032?

3 views
Skip to first unread message

Phil Rhodes

unread,
Dec 29, 2009, 9:51:50 PM12/29/09
to jsl...@googlegroups.com
Hi,
 
Is ComObject in r3032? I still get ReferenceError: ComObject is not defined for:
 
LoadModule('jswinshell');
var typeLib = new ComObject("Scriptlet.TypeLib");
 
-P

soubok

unread,
Dec 31, 2009, 6:29:37 AM12/31/09
to jsl...@googlegroups.com
Hi,

The API has changed a little bit, and the documentation is not ready.

The ComObject class has been replaced by the simple CreateComObject function.
you can use:
var typeLib = CreateComObject("Scriptlet.TypeLib");

Franck.

Reply all
Reply to author
Forward
0 new messages