COM functions COM functions can be used to call COM components from StreamServe scripts. Limitations • COM functions are only available in Windows environments. • Only COM components that support the IDispatch interface are supported. • The following Variant Types are supported: VT_I2 VT_I4 VT_R4 VT_R8 VT_CY VT_DATE VT_BSTR VT_BOOL VT_I1 VT_UI1 VT_UI2 VT_UI4 VT_INT VT_UINT VT_VARIANT For more information about the IDispatch interface and Variant Types, seehttp://msdn.microsoft.com COM functions The table below contains a short description of each script function. For information about syntax, examples, etc., see the full description of each script function. Function name Description COMCreateObject Loads the COM component with the specified ProgID and associates it with the specified handle. COMDestroyObject Unloads the COM component associated with the specified handle. COMInvoke Invokes the specified method for the COM component associated with the specified handle. COMSetProperty Sets the specified property for the COM component associated with the specified handle. COMGetProperty Retrieves the value of the specified property for the COM object associated with the specified handle.
VT_I2
VT_I4
VT_R4
VT_R8
VT_CY
VT_DATE
VT_BSTR
VT_BOOL
VT_I1
VT_UI1
VT_UI2
VT_UI4
VT_INT
VT_UINT
VT_VARIANT