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 about 7 years ago. Updated about 7 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 #1

Updated by Per Amundsen about 7 years ago

  • Category set to Scripting
  • Status changed from New to Assigned
  • Assignee set to Per Amundsen

I added this for next beta, both test cases works, leaving it open in case you find something I have missed.

Actions #2

Updated by Per Amundsen about 7 years ago

  • Status changed from Assigned to Resolved
Actions #3

Updated by Per Amundsen about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF