This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Importing a value to Java from C/C++ using JNI
 
Similar Threads
how to convert jchararray to char array.
JNI Program RunTime Exceptions
How to find system is idle
jni
Info on JNI and accessing dll methods.