aspose file tools
The moose likes Beginning Java and the fly likes JNI problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "JNI problem" Watch "JNI problem" New topic
Author

JNI problem

jrmchen
Greenhorn

Joined: Mar 26, 2001
Posts: 5
I am now using JNI to call C from Java . But some functions
need to get Structure pointer or more than one pointer value.
Can any one tell me how I can transmit pointer especially Structure Pointer to those C functions ?
I tend to tranmit a class , but failed.
Can Java function get a class as a parameter?
Thanks a lot !
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
"jmchen",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
Please don't post the same message to more than one forum. You obviously expect to read more than one forum - so do the people who might answer your question. This thread is now closed, all replies to the one in "Java in General (advanced)".
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JNI problem
 
Similar Threads
JNI Problem
JNI question
JNI problem
regarding JNI
How to get address of String object?