*
ga***********@gmail.com:
hello all,
I have a C++ file, which calls a c++ library which returns a
Vector<Struct>
My C++ File is invoked via a Jni call...
Instead of parsing the vector & returning an Object array back to
my Java Class,
can i return the vector itself ??...
or
Can I pass a refrence to a Vector from my Java class to my C++
file, which it
can fill ??...
which one is feasible ???
Java is a different language than C++. On the Java side you can only
work with Java objects. Hence, if you want the Java side to be able to
anything else than simply keep an object reference, you must use the
Java C++ binding (the JNI) to convert between Java and C++
representations of the data.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?