File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
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.
I agree. Here's the link:
subject: how can a vector object be passed as a parameter from JNI to c++
Mapping C(void *) void pointer - JNI---- !!!URGENT!!!!
what is JNI and what are the advantages of JNI?
how to pass Strng array from java to c Using JNI
Invoke Java library from C/C++
create c++ object from java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015