Expert advice on how to pass a VBScript to pass an array to a C + + to write the ocx control, experts invited!

Category: C/C++ -> ActiveX/COM/DCOM Author: jacksky007 Date: 2001-08-02 15:59:28
2001-08-02 15:59:28

Dim varData (3)
varData (0) = "aa"
varData (1) = "bb"
varData (2) = "cc"
SafeArrayTest.SafeArrVariant (varData)
which SafeArrayTest.SafeArrVariant is control The result is that the interface

run ASP said "Type Mismatch"
Please help!

2001-08-02 16:12:58
C + + control is not write your own? Is it best to give him a pass aa, bb, cc such strings, in which the decomposition, or VBScript are sent Variant C + + controls probably bad reception