Project

General

Profile

Actions

Feature #3225

closed

AdiIRC, to stay consistant with mIRC, should support VT_ARRAYs of VT_UI1 and VT_I1 items

Added by S Reject almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
01/22/2017
Due date:
% Done:

0%

Estimated time:
Operative System:
All

Description

As per khaled's response mIRC will be supporting VT_ARRAYs of VT_UI1 and VT_I1 values.

When retrieving the result from a com call, if the output is NOT into a bvar, the array is treated as a byte array which is converted into a string, terminating at the first null value. If the output of a com result is to be put into a bvar, the array's values are copied over where each item in the array represents each byte-value for the bvar

To pass data into a COM instance as a vt_array, prefix its type with "array". The input value is split into bytes, where each byte is an item in the array.

;; converts the bvar into a vt_array and passes the array to the com instance
$com(example, member, 1, array &ui1, &bvar)

;; converts the string into a vt_array and passes the array to the com instance
$com(example, member, 1, array ui1, example text)

Actions

Also available in: Atom PDF