A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: how can a vector object be passed as a parameter from JNI to c++
Invoke Java library from C/C++
Mapping C(void *) void pointer - JNI---- !!!URGENT!!!!
how to pass Strng array from java to c Using JNI
create c++ object from java
what is JNI and what are the advantages of JNI?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014