A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Java in General
how can a vector object be passed as a parameter from JNI to c++
Joined: May 08, 2005
Sep 16, 2005 23:11:00
i am working on a program were i need to pass the vector object which i am sending from
Through the jobject which i recieve in JNI , i cannot access the vector elements.
can u plz tell me how should i use it
Joined: Nov 05, 2004
Sep 17, 2005 13:13:00
This thread belongs to the the Othe Java API's forum.
To answer your question, you have to use reflection to call the methods on the Java Vector object from C++. Look at this
in the JNI tutorial on how to call Java functions from Native Code.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: how can a vector object be passed as a parameter from JNI to c++
Invoke Java library from C/C++
create c++ object from java
how to pass Strng array from java to c Using JNI
what is JNI and what are the advantages of JNI?
Mapping C(void *) void pointer - JNI---- !!!URGENT!!!!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014