wood burning stoves 2.0*
The moose likes Java in General and the fly likes Importing a value to Java from C/C++ using JNI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Importing a value to Java from C/C++ using JNI" Watch "Importing a value to Java from C/C++ using JNI" New topic
Author

Importing a value to Java from C/C++ using JNI

Henadeerage Henadeera
Greenhorn

Joined: Aug 13, 2011
Posts: 12
Hello Everybody,

I'm searching a way to import a String value from C/C++ program to Java program in the run time using JNI.
Please anybody, guide me to how to do this using JNI.(I know only to say hello world using JNI )

Thank you very much!
Henadeera
Henadeerage Henadeera
Greenhorn

Joined: Aug 13, 2011
Posts: 12
Henadeerage Henadeera wrote:Hello Everybody,

I'm searching a way to import a String value from C/C++ program to Java program in the run time using JNI.
Please anybody, guide me to how to do this using JNI.(I know only to say hello world using JNI )

Thank you very much!
Henadeera



OK I got the right document.
http://download.oracle.com/javase/7/docs/technotes/guides/jni/spec/intro.html#wp16539
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Importing a value to Java from C/C++ using JNI
 
Similar Threads
how to convert jchararray to char array.
jni
Info on JNI and accessing dll methods.
JNI Program RunTime Exceptions
How to find system is idle