![]() |
Arrays are very similar between Java and Automation Containers like Visual Basic and VBScript. Here are some important points to consider when passing arrays back and forth between Java and Automation:
... Dim VariantArray(1) as Variant VariantArray(0) = CLng(123) VariantArray(1) = CDbl(123.4) oMyJavaObject.foo(VariantArray) ' Illegal! VariantArray(0) = CLng(123) VariantArray(1) = CLng(1234) oMyJavaObject.foo(VariantArray) ' This works
Related concepts... | |
How ActiveX programs use the ActiveX to EJB bridge | |
ActiveX to EJB bridge, calling Java methods | |
ActiveX to EJB bridge, good programming guidelines | |