Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Henadeerage Henadeera
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!