JADE ActiveX maps a COM string array into the JADE
If you edit the methods generated by the ActiveX import, you can use the
To make use of a HugeStringArray, you need to tell the ActiveX interface to use them. In the following example, an ActiveX object implements a member method called ListOfThings that returns an array of strings. The JADE method generated by the import for such a member is as follows.
listOfThings():StringArray updating, clientExecution; begin return _jadeActiveXInvoke("ListOfThings" 1,'0.8200').StringArray; end;
To enable the method to handle a HugeStringArray:
Change method return type
Pass the HugeStringArray class number to the ActiveX interface in the parameter description argument to the _ jadeActiveXInvoke method
After making the changes, the listOfThings method is as follows.
listOfThings():HugeStringArray updating, clientExecution; begin return _jadeActiveXInvoke("ListOfThings" 1, '0.8200.'&HugeStringArray.number.String).HugeStringArray; end;
As the class number of the HugeStringArray class is 429, the method can be simplified as follows.
listOfThings():HugeStringArray updating, clientExecution; begin return _jadeActiveXInvoke("ListOfThings" 1,'0.8200.429').HugeStringArray; end;
You may need to make similar changes in two places; in the