This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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
 
Have you checked out Aspose?
 
subject: Importing a value to Java from C/C++ using JNI
 
It's not a secret anymore!