


These values are now translated automatically instead of being wrapped in an object. IDispatch allows omitting parameters by specifying a VARIANT of type VT_ERROR with value DISP_E_PARAMNOTFOUND. Instead of receiving a ComObject wrapper with the VT_BYREF|VT_VARIANT variant type, the script receives a temporary variable compatible with a normal ByRef parameter.Īdded support for omitting parameters in incoming COM calls. Both the script invoking the object and the object itself must be running a supported AutoHotkey version.Īdded support for ByRef VARIANT in incoming COM calls. Integers in the 32-bit range are still passed as VT_I4.Īdded support for two-variable enumerators (for-loops) with IDispatch-wrapped AutoHotkey objects. Changed COM method and property calls to pass large integers as VT_I8, not VT_R8 (floating-point), so the original type and precision is retained.
