File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
Don't get me started about those stupid light bulbs.
 
subject: Importing a value to Java from C/C++ using JNI