addTypeLib(progId [, version [, flags]] )
|
|
Parameters
|
StringprogId
A string containing the program ID or CLSID of the object whose type library is to be added to the script context.
Stringversion
[optional] The version of the type library desired. If this is not specified, the version registered for the object given in the progId parameter is used. If no version is registered for it, version 1.0 is assumed. The version must be a string in the form "n[.m]".
unsigned shortflags
[optional] Flags that affect the way the type library is added to the scripting environment. Can be the sum of zero or more values from addTypeLibFlags.
|
Returns
|
void
|