EnglishРусский  
The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

COM/OLE

Working with COM/OLE Object. The COM library is applied for working with the COM/OLE objects, the IDispatch interface and maintains late binding operations. For using this library, it is required to specify the file olecom.g (from lib\olecom subfolder) with include command.

include : $"...\gentee\lib\olecom\olecom.g"

 
COM/OLE description A brief description of COM/OLE library.
VARIANT VARIANT type.

Operators

type = VARIANT Assign operation.
VARIANT = type Assign operation.
type( VARIANT ) Conversion.

Methods

oleobj.createobj The method creates a new COM object.
oleobj.getres Result of the last operation.
oleobj.iserr Enables to define whether or not an error occurs while working with a COM object.
oleobj.release Releasing the COM object.

VARIANT Methods

variant.arrcreate Creating the SafeArray array.
variant.arrfromg Assigning a value to an element of the SafeArray array.
variant.arrgetptr Obtaining a pointer to an element of the SafeArray array.
variant.clear Clears the variable contents, the storage area is released if necessary.
variant.ismissing Checks if the variant is "missing" (optional) parameter of the method.
variant.isnull Enables to define whether or not a variable is NULL.
variant.setmissing Sets the "missing" variant.