Campbell Ritchie wrote:Thank you, Rob. Does that apply only in Java? I suppose there is no such thing as an Object in C/C++.
To be honest, I have no idea. I've done quite some C programming, but my C++ experience is lacking.
Did you miss out a "not" somewhere, maybe "not mix"?
I didn't, but my intentions seem to be missing.
What I was trying to say is, that Vinod should use NewObjectArray to create one Object array as the outer array (of type int.class which is [I in native code), then use NewIntArray to create each int element, and finally use SetObjectArrayElement to set these as the values of the Object array.